public abstract class ExecutableContainer extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected Credentials |
credentials |
protected NodeSet |
nodes |
Modifier | Constructor and Description |
---|---|
protected |
ExecutableContainer() |
protected |
ExecutableContainer(ExecutableContainer container) |
Modifier and Type | Method and Description |
---|---|
Credentials |
getCredentials()
Get the credentials crypted with launcher public key
|
NodeSet |
getNodes()
Return the nodes set for this executable container
|
boolean |
isRunAsUser()
Return true if user want to run the task under his account id, false otherwise.
|
void |
setCredentials(Credentials credentials)
Set the credentials value to the given credentials value
|
void |
setNodes(NodeSet nodes)
Set the nodes value to the given nodes value
|
void |
setRunAsUser(boolean runAsUser) |
protected NodeSet nodes
protected Credentials credentials
protected ExecutableContainer()
protected ExecutableContainer(ExecutableContainer container)
public void setNodes(NodeSet nodes)
nodes
- the nodes to setpublic NodeSet getNodes()
public Credentials getCredentials()
public void setCredentials(Credentials credentials)
credentials
- the credentials to setpublic boolean isRunAsUser()
public void setRunAsUser(boolean runAsUser)