Class Config
- java.lang.Object
-
- org.apache.karaf.features.internal.model.Config
-
- All Implemented Interfaces:
ConfigInfo
public class Config extends Object implements ConfigInfo
Configuration entries which should be created during feature installation. This configuration may be used with OSGi Configuration Admin.
Java class for config complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="config"> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>string"> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </simpleContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description Config()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Gets the value of the name property.Properties
getProperties()
String
getValue()
Gets the value of the value property.boolean
isAppend()
boolean
isExternal()
boolean
isOverride()
Gets the value of the override property.void
setAppend(boolean append)
void
setExternal(boolean external)
void
setName(String value)
Sets the value of the name property.void
setOverride(Boolean value)
Sets the value of the override property.void
setValue(String value)
Sets the value of the value property.
-
-
-
Method Detail
-
getValue
public String getValue()
Gets the value of the value property.- Specified by:
getValue
in interfaceConfigInfo
- Returns:
- possible object is
String
-
setValue
public void setValue(String value)
Sets the value of the value property.- Parameters:
value
- allowed object isString
-
getName
public String getName()
Gets the value of the name property.- Specified by:
getName
in interfaceConfigInfo
- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
isAppend
public boolean isAppend()
- Specified by:
isAppend
in interfaceConfigInfo
- Returns:
- the append
-
setAppend
public void setAppend(boolean append)
- Parameters:
append
- the append to set
-
isExternal
public boolean isExternal()
- Specified by:
isExternal
in interfaceConfigInfo
-
setExternal
public void setExternal(boolean external)
-
isOverride
public boolean isOverride()
Gets the value of the override property.- Specified by:
isOverride
in interfaceConfigInfo
- Returns:
- possible object is
Boolean
-
setOverride
public void setOverride(Boolean value)
Sets the value of the override property.- Parameters:
value
- allowed object isBoolean
-
getProperties
public Properties getProperties()
- Specified by:
getProperties
in interfaceConfigInfo
-
-