oms3.dsl
Class Cluster
java.lang.Object
oms3.dsl.Cluster
- All Implemented Interfaces:
- Buildable
public class Cluster
- extends java.lang.Object
- implements Buildable
- Author:
- od
Method Summary |
Buildable |
create(java.lang.Object name,
java.lang.Object value)
Create a node. |
void |
execute(java.lang.String command)
Execute |
void |
get(java.lang.String remoteFile,
java.lang.String localFile)
|
java.lang.String |
getName()
|
java.util.List<java.lang.String> |
nodes()
|
void |
put(java.lang.String localFile,
java.lang.String remoteFile)
|
Cluster |
select(java.lang.String name)
|
void |
setName(java.lang.String name)
|
void |
start()
Only for EC2 |
void |
terminate()
Only for EC2 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Cluster
public Cluster()
setName
public void setName(java.lang.String name)
getName
public java.lang.String getName()
create
public Buildable create(java.lang.Object name,
java.lang.Object value)
- Description copied from interface:
Buildable
- Create a node.
- Specified by:
create
in interface Buildable
- Parameters:
name
- the node namevalue
- the value
- Returns:
- a new Subnode
nodes
public java.util.List<java.lang.String> nodes()
select
public Cluster select(java.lang.String name)
execute
public void execute(java.lang.String command)
throws java.io.IOException
- Execute
- Parameters:
command
-
- Throws:
java.io.IOException
put
public void put(java.lang.String localFile,
java.lang.String remoteFile)
throws java.io.IOException
- Throws:
java.io.IOException
get
public void get(java.lang.String remoteFile,
java.lang.String localFile)
throws java.io.IOException
- Throws:
java.io.IOException
start
public void start()
- Only for EC2
terminate
public void terminate()
- Only for EC2
Generated 2010-08-11 08:44:20 MDT, USDA-ARS-ASRU/CSU, 2150 Center Ave, Fort Collins, CO 80526, U.S.A.