Methods Summary |
---|
public void | addChildTargetModuleID(com.sun.enterprise.deployapi.SunTargetModuleID child)Add a child TargetModuleID to this TargetModuleID
if (children==null) {
children = new Vector();
}
child.setParentTargetModuleID(this);
children.add(child);
|
public java.lang.String | debugString()
String s = "TargetModuleID type " + getModuleType() + " moduleID " + toString() + " on target = " + super.toString();
if (ModuleType.WAR.equals(moduleType)) {
s = s + " at " + getWebURL();
}
return s;
|
public boolean | equals(java.lang.Object other)
if (other instanceof SunTargetModuleID) {
SunTargetModuleID theOther = (SunTargetModuleID) other;
return (moduleID.equals(theOther.moduleID) && super.equals(theOther));
}
return false;
|
public javax.enterprise.deploy.spi.TargetModuleID[] | getChildTargetModuleID()Retrieve a list of identifiers of the children
of this deployed module.
if (children==null)
return null;
TargetModuleID[] list = new TargetModuleID[children.size()];
children.copyInto(list);
return list;
|
public java.lang.String | getModuleID()Retrieve the id assigned to represent
the deployed module.
return moduleID;
|
public javax.enterprise.deploy.shared.ModuleType | getModuleType()
return moduleType;
|
public javax.enterprise.deploy.spi.TargetModuleID | getParentTargetModuleID()Retrieve the identifier of the parent
object of this deployed module. If there
is no parent then this is the root object
deployed. The root could represent an EAR
file or it could be a stand alone module
that was deployed.
return parent;
|
public javax.enterprise.deploy.spi.Target | getTarget()Retrieve the name of the target server.
this module was deployed to.
return this;
|
public java.lang.String | getWebURL()If this TargetModulID represents a web
module retrieve the URL for it.
return webUrl;
|
public int | hashCode()
int result = 17;
result = 37 * result + ((moduleID == null) ? 0 : moduleID.hashCode());
return result;
|
public void | setModuleType(javax.enterprise.deploy.shared.ModuleType moduleType)Sets the module type for this deployed module
this.moduleType = moduleType;
|
public void | setParentTargetModuleID(com.sun.enterprise.deployapi.SunTargetModuleID parent)Sets the parent TargetModuleID
this.parent = parent;
|
public void | setWebURL(java.lang.String webUrl)set the URL of a web module if the module is a web module.
this.webUrl = webUrl;
|
public java.lang.String | toString()
return moduleID + "_" + super.toString();
|