public class ApplicationDescriptor
extends java.lang.Object
ApplicationDescriptor
is a descriptor for an application meant to
be installed into HDFS and later run from there.Constructor and Description |
---|
ApplicationDescriptor()
Instantiates a new application descriptor.
|
ApplicationDescriptor(java.lang.String directory)
Instantiates a new application descriptor.
|
ApplicationDescriptor(java.lang.String directory,
java.lang.String name)
Instantiates a new application descriptor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDirectory()
Gets the application directory.
|
java.lang.String |
getName()
Gets the application name.
|
void |
setDirectory(java.lang.String directory)
Sets the application directory.
|
void |
setName(java.lang.String name)
Sets the application name.
|
public ApplicationDescriptor()
public ApplicationDescriptor(java.lang.String directory)
directory
- the application directorypublic ApplicationDescriptor(java.lang.String directory, java.lang.String name)
directory
- the application directoryname
- the application namepublic java.lang.String getDirectory()
public void setDirectory(java.lang.String directory)
directory
- the new application directorypublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the application name