org.apache.falcon.oozie.workflow
Class SSH

java.lang.Object
  extended by org.apache.falcon.oozie.workflow.SSH

public class SSH
extends Object

Java class for SSH complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="SSH">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="host" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="command" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="args" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="capture-output" type="{uri:oozie:workflow:0.3}FLAG" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<String> args
           
protected  FLAG captureOutput
           
protected  String command
           
protected  String host
           
 
Constructor Summary
SSH()
           
 
Method Summary
 List<String> getArgs()
          Gets the value of the args property.
 FLAG getCaptureOutput()
          Gets the value of the captureOutput property.
 String getCommand()
          Gets the value of the command property.
 String getHost()
          Gets the value of the host property.
 void setCaptureOutput(FLAG value)
          Sets the value of the captureOutput property.
 void setCommand(String value)
          Sets the value of the command property.
 void setHost(String value)
          Sets the value of the host property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

host

protected String host

command

protected String command

args

protected List<String> args

captureOutput

protected FLAG captureOutput
Constructor Detail

SSH

public SSH()
Method Detail

getHost

public String getHost()
Gets the value of the host property.

Returns:
possible object is String

setHost

public void setHost(String value)
Sets the value of the host property.

Parameters:
value - allowed object is String

getCommand

public String getCommand()
Gets the value of the command property.

Returns:
possible object is String

setCommand

public void setCommand(String value)
Sets the value of the command property.

Parameters:
value - allowed object is String

getArgs

public List<String> getArgs()
Gets the value of the args property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the args property.

For example, to add a new item, do as follows:

    getArgs().add(newItem);
 

Objects of the following type(s) are allowed in the list String


getCaptureOutput

public FLAG getCaptureOutput()
Gets the value of the captureOutput property.

Returns:
possible object is FLAG

setCaptureOutput

public void setCaptureOutput(FLAG value)
Sets the value of the captureOutput property.

Parameters:
value - allowed object is FLAG


Copyright © 2013-2014 Apache Software Foundation. All Rights Reserved.