Spring for Apache Hadoop

org.springframework.yarn.client
Class ApplicationDescriptor

java.lang.Object
  extended by org.springframework.yarn.client.ApplicationDescriptor

public class ApplicationDescriptor
extends java.lang.Object

An ApplicationDescriptor is a descriptor for an application meant to be installed into HDFS and later run from there.

Author:
Janne Valkealahti

Constructor Summary
ApplicationDescriptor()
          Instantiates a new application descriptor.
ApplicationDescriptor(java.lang.String directory)
          Instantiates a new application descriptor.
 
Method Summary
 java.lang.String getDirectory()
          Gets the application directory.
 void setDirectory(java.lang.String directory)
          Sets the application directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationDescriptor

public ApplicationDescriptor()
Instantiates a new application descriptor.


ApplicationDescriptor

public ApplicationDescriptor(java.lang.String directory)
Instantiates a new application descriptor.

Parameters:
directory - the application directory
Method Detail

getDirectory

public java.lang.String getDirectory()
Gets the application directory.

Returns:
the application directory

setDirectory

public void setDirectory(java.lang.String directory)
Sets the application directory.

Parameters:
directory - the new application directory

Spring for Apache Hadoop