|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gov.bnl.star.offline.scheduler.request.rdl.Application
public class Application
Class representing the Application request element
Constructor Summary | |
---|---|
Application()
|
|
Application(java.lang.String type,
java.lang.String name,
java.lang.String version)
|
Method Summary | |
---|---|
boolean |
getIsDefault()
Returns true is this is the default app |
java.lang.String |
getName()
Returns the name of the app (ie. |
java.lang.String |
getPath()
Returns the path to the program |
Task |
getType()
Returns a class of the same type as the task (ie RootTask, JavaTask, ScriptTask) |
java.lang.String |
getVersion()
sets the version of the app (ie. |
void |
makeDefault()
Calling this makes this app the defailt if no other matching apps can be found this is the one that will be used |
void |
setIsDefault(boolean isDefault)
If this is set to true, the will be the default picked if no other app can be found |
void |
setName(java.lang.String name)
set the name of the app (ie. |
void |
setPath(java.lang.String path)
Sets the hard pther the the program |
void |
setType(Task type)
Set the type of the application by giving it TaskClass of the same type |
void |
setVersion(java.lang.String version)
So reformating will take place. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Application()
public Application(java.lang.String type, java.lang.String name, java.lang.String version)
Method Detail |
---|
public java.lang.String getName()
public java.lang.String getVersion()
public void setName(java.lang.String name)
public void setVersion(java.lang.String version)
public void setIsDefault(boolean isDefault)
public boolean getIsDefault()
public void makeDefault()
public void setPath(java.lang.String path)
public java.lang.String getPath()
public void setType(Task type)
public Task getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |