|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rioproject.opstring.OAR
public class OAR
Represents an OperationalString Archive (OAR).
| Field Summary | |
|---|---|
static String |
AUTOMATIC
|
static String |
MANUAL
|
static String |
OAR_ACTIVATION
|
static String |
OAR_ARTIFACTS
|
static String |
OAR_NAME
|
static String |
OAR_OPSTRING
|
static String |
OAR_VERSION
|
| Constructor Summary | |
|---|---|
OAR(File file)
Create an OAR |
|
OAR(Manifest manifest)
Create an OAR |
|
OAR(URL url)
Create an OAR |
|
| Method Summary | |
|---|---|
String |
getActivationType()
Get the activation type |
String |
getArtifacts()
|
String |
getCompoundName()
Get the name of the directory to store the OAR in |
String |
getDeployDir()
Get the deployment directory path |
String |
getName()
Get the OAR-Name attribute |
String |
getOpStringName()
Get the OAR-OperationalString attribute |
URL |
getURL()
Get the URL for the File that this OAR was created from. |
String |
getVersion()
|
OperationalString[] |
loadOperationalStrings()
|
void |
setDeployDir(String deployDir)
Set the deployment directory path |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String OAR_NAME
public static final String OAR_VERSION
public static final String OAR_OPSTRING
public static final String OAR_ACTIVATION
public static final String OAR_ARTIFACTS
public static final String AUTOMATIC
public static final String MANUAL
| Constructor Detail |
|---|
public OAR(File file)
throws OARException
file - The OperationalString Archive File
OARException - If the manifest cannot be read
IllegalArgumentException - If the manifest is null
public OAR(URL url)
throws OARException
url - The URL for the OperationalString Archive
OARException - If the manifest cannot be read
IllegalArgumentException - If the url is null
public OAR(Manifest manifest)
throws OARException
manifest - A Manifest to the oar
OARException - If the manifest cannot be read
IllegalArgumentException - If the manifest is null| Method Detail |
|---|
public URL getURL()
throws MalformedURLException
MalformedURLException - if the URL cannot be createdpublic String getName()
public String getVersion()
public String getArtifacts()
public String getOpStringName()
public String getCompoundName()
public void setDeployDir(String deployDir)
deployDir - The deployment directory path the OAR has been
extracted topublic String getDeployDir()
public String getActivationType()
public OperationalString[] loadOperationalStrings()
throws OARException
OARExceptionpublic String toString()
toString in class Object
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||