Class Bundle
- java.lang.Object
-
- org.apache.karaf.features.internal.model.Bundle
-
- All Implemented Interfaces:
Blacklisting
,BundleInfo
public class Bundle extends Object implements BundleInfo
Deployable element to install.
Java class for bundle complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="bundle"> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>anyURI"> <attribute name="start-level" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="start" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="dependency" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </extension> </simpleContent> </complexType>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.karaf.features.BundleInfo
BundleInfo.BundleOverrideMode
-
-
Field Summary
Fields Modifier and Type Field Description protected Boolean
dependency
protected String
originalValue
Original value may be queried ifisOverriden()
istrue
protected Boolean
start
protected Integer
startLevel
protected String
value
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getLocation()
Gets the value of the value property.String
getOriginalLocation()
int
getStartLevel()
Gets the value of the startLevel property.int
hashCode()
boolean
isBlacklisted()
Returnstrue
if this item is blacklisted.boolean
isDependency()
Gets the value of the dependency property.BundleInfo.BundleOverrideMode
isOverriden()
boolean
isStart()
Gets the value of the start property.void
setBlacklisted(boolean blacklisted)
void
setDependency(Boolean value)
Sets the value of the dependency property.void
setLocation(String value)
Sets the value of the value property.void
setOriginalLocation(String originalLocation)
void
setOverriden(BundleInfo.BundleOverrideMode overriden)
void
setStart(Boolean value)
Sets the value of the start property.void
setStartLevel(Integer value)
Sets the value of the startLevel property.String
toString()
-
-
-
Constructor Detail
-
Bundle
public Bundle()
-
Bundle
public Bundle(String value)
-
-
Method Detail
-
getLocation
public String getLocation()
Gets the value of the value property.- Specified by:
getLocation
in interfaceBundleInfo
- Returns:
- possible object is
String
-
setLocation
public void setLocation(String value)
Sets the value of the value property.- Parameters:
value
- allowed object isString
-
getStartLevel
public int getStartLevel()
Gets the value of the startLevel property.- Specified by:
getStartLevel
in interfaceBundleInfo
- Returns:
- possible object is
Integer
-
setStartLevel
public void setStartLevel(Integer value)
Sets the value of the startLevel property.- Parameters:
value
- allowed object isInteger
-
isStart
public boolean isStart()
Gets the value of the start property.- Specified by:
isStart
in interfaceBundleInfo
- Returns:
- possible object is
Boolean
-
setStart
public void setStart(Boolean value)
Sets the value of the start property.- Parameters:
value
- allowed object isBoolean
-
isDependency
public boolean isDependency()
Gets the value of the dependency property.- Specified by:
isDependency
in interfaceBundleInfo
- Returns:
- possible object is
Boolean
-
setDependency
public void setDependency(Boolean value)
Sets the value of the dependency property.- Parameters:
value
- allowed object isBoolean
-
isBlacklisted
public boolean isBlacklisted()
Description copied from interface:Blacklisting
Returnstrue
if this item is blacklisted.- Specified by:
isBlacklisted
in interfaceBlacklisting
- Returns:
-
setBlacklisted
public void setBlacklisted(boolean blacklisted)
-
isOverriden
public BundleInfo.BundleOverrideMode isOverriden()
- Specified by:
isOverriden
in interfaceBundleInfo
-
setOverriden
public void setOverriden(BundleInfo.BundleOverrideMode overriden)
-
getOriginalLocation
public String getOriginalLocation()
- Specified by:
getOriginalLocation
in interfaceBundleInfo
-
setOriginalLocation
public void setOriginalLocation(String originalLocation)
-
-