OMS (v3.0.25)

oms3.dsl
Class Cluster

java.lang.Object
  extended by oms3.dsl.Cluster
All Implemented Interfaces:
Buildable

public class Cluster
extends java.lang.Object
implements Buildable

Author:
od

Field Summary
 
Fields inherited from interface oms3.dsl.Buildable
LEAF
 
Constructor Summary
Cluster()
           
 
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
 

Constructor Detail

Cluster

public Cluster()
Method Detail

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 name
value - 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


OMS (v3.0.25)

Generated 2010-08-11 08:44:20 MDT, USDA-ARS-ASRU/CSU, 2150 Center Ave, Fort Collins, CO 80526, U.S.A.