DeployableObjectInfopublic abstract class DeployableObjectInfo extends Object
Fields Summary |
---|
private File | rootPath | private String | name | private File | archive |
Constructors Summary |
---|
protected DeployableObjectInfo(File rootPath, String name)
this(rootPath, name, null);
| protected DeployableObjectInfo(File rootPath, String name, File archive)
this.rootPath = rootPath;
this.name = name;
this.archive = archive;
|
Methods Summary |
---|
java.io.File | getArchive()
return archive;
| public java.lang.String | getName()Returns the official name (ID) of the object
return name;
| public java.io.File | getRootPath()Returns the top-level directory that this object resides in
return rootPath;
| public java.lang.String | toString()Prepares a human-readable dump of all the information
contained by this Object. Recursively calls toString()
on contained objects.
StringBuffer sb = new StringBuffer("*********** Archive Info Dump ***********\n");
sb.append("Root Path: " + getRootPath() + '\n");
sb.append("Name: " + getName() + '\n");
if(archive != null)
sb.append("Original Archive: " + getArchive() + '\n");
return sb.toString();
|
|