public class BarEntry extends java.lang.Object implements DeployableObject
class
com.ibm.broker.config.proxy.BarEntry implements
com.ibm.broker.config.proxy.DeployableObject
|
|
Responsibilities | States that implementing classes represent objects that can be deployed to execution groups. |
Internal Collaborators | None |
Change Activity: -------- ----------- ------------- ------------------------------------ Reason: Date: Originator: Comments: -------- ----------- ------------- ------------------------------------ f45166 2007-06-11 HDMPL v6.1 Release 51619.8 2008-12-16 HDMPL v7 Release (no changes) 80006 2011-05-13 HDCAB v8 release: Added equals() method. Added getBytes() method. Added isApplication() method. Added isLibrary() method. Added getDeployableFileType() method. Added toString() method.
BARNAME_KEYWORD, USAGE_KEYWORD, VERSION_KEYWORD
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Compares this BarEntry with the Object passed in.
|
byte[] |
getBytes()
Returns the bytes for this BarEntry.
|
com.ibm.broker.config.common.DeployableFileType |
getDeployableFileType()
Returns the DeployableFileType for this BarEntry.
|
java.lang.String |
getFileExtension()
Returns the file extension of the BAR entry.
|
java.lang.String |
getFullName()
Returns the name of the BarEntry as it exists in the BAR
file- including any file extension but excluding any path
information.
|
java.lang.String[] |
getKeywords()
Returns the set of keywords for this BarEntry
which were found embedded in the object when the
BarFile instance was first instantiated.
|
java.lang.String |
getKeywordValue(java.lang.String keyword)
Returns the value of the supplied keyword.
|
java.util.Date |
getModifyTime()
Returns the time that the BarEntry was last modified, according
to the file modification date set in the broker archive file.
|
java.lang.String |
getName()
Returns the name of the BarEntry.
|
java.lang.String |
getVersion()
Returns the value of the 'version' keyword if it
is embedded in the object in the Bar file.
|
boolean |
isApplication()
Returns true if this BAR entry is an Application
|
boolean |
isLibrary()
Returns true if this BAR entry is a Library
|
java.lang.String |
toString()
Returns a string representation of the object
|
public java.lang.String getFileExtension()
getFileExtension
in interface DeployableObject
public java.lang.String getFullName()
getFullName
in interface DeployableObject
public java.lang.String getKeywordValue(java.lang.String keyword)
getKeywordValue
in interface DeployableObject
keyword
- The keyword to look uppublic java.lang.String[] getKeywords()
getKeywords
in interface DeployableObject
public java.util.Date getModifyTime()
getModifyTime
in interface DeployableObject
public java.lang.String getName()
getName
in interface DeployableObject
public java.lang.String getVersion()
getVersion
in interface DeployableObject
public byte[] getBytes()
public com.ibm.broker.config.common.DeployableFileType getDeployableFileType()
public boolean isApplication()
public boolean isLibrary()
public boolean equals(java.lang.Object obj)
Two instances of a BarEntry are equal if and only if they are both BarEntry objects and they have the same full name.
equals
in class java.lang.Object
obj
- - the object that is to be compared with this one.public java.lang.String toString()
Displays the name, number of BAR entries and deployment descriptor of the current object. The format is not guaranteed, and therefore should not be parsed programatically.
toString
in class java.lang.Object