public class ApplicationDescriptor extends 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(String directory)
Instantiates a new application descriptor.
|
ApplicationDescriptor(String directory,
String name)
Instantiates a new application descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDirectory()
Gets the application directory.
|
String |
getName()
Gets the application name.
|
void |
setDirectory(String directory)
Sets the application directory.
|
void |
setName(String name)
Sets the application name.
|
public ApplicationDescriptor()
public ApplicationDescriptor(String directory)
directory - the application directorypublic String getDirectory()
public void setDirectory(String directory)
directory - the new application directorypublic String getName()
public void setName(String name)
name - the application name