public class

MyTaskAppSpec

extends Object
implements ApplicationSpec
java.lang.Object
   ↳ org.apache.helix.provisioning.yarn.example.MyTaskAppSpec

Summary

Fields
public AppConfig _appConfig
public String _appName
public List<String> _services
Public Constructors
MyTaskAppSpec()
Public Methods
AppConfig getAppConfig()
URI getAppMasterPackage()
String getAppMasterPackageUri()
String getAppName()
Returns the name of the application
AppConfig getConfig()
ServiceConfig getServiceConfig(String serviceName)
Map<StringMap<StringString>> getServiceConfigMap()
String getServiceMainClass(String service)
Map<StringString> getServiceMainClassMap()
URI getServicePackage(String serviceName)
Map<StringString> getServicePackageURIMap()
List<String> getServices()
List<TaskConfig> getTaskConfigs()
void setAppConfig(AppConfig appConfig)
void setAppMasterPackageUri(String appMasterPackageUri)
void setAppName(String appName)
void setServiceConfigMap(Map<StringMap<StringObject>> map)
void setServiceMainClassMap(Map<StringString> serviceMainClassMap)
void setServicePackageURIMap(Map<StringString> servicePackageURIMap)
void setServices(List<String> services)
void setTaskConfigs(List<TaskConfig> taskConfigs)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.helix.provisioning.ApplicationSpec

Fields

public AppConfig _appConfig

public String _appName

public List<String> _services

Public Constructors

public MyTaskAppSpec ()

Public Methods

public AppConfig getAppConfig ()

public URI getAppMasterPackage ()

public String getAppMasterPackageUri ()

public String getAppName ()

Returns the name of the application

public AppConfig getConfig ()

public ServiceConfig getServiceConfig (String serviceName)

public Map<StringMap<StringString>> getServiceConfigMap ()

public String getServiceMainClass (String service)

public Map<StringString> getServiceMainClassMap ()

public URI getServicePackage (String serviceName)

public Map<StringString> getServicePackageURIMap ()

public List<String> getServices ()

public List<TaskConfig> getTaskConfigs ()

public void setAppConfig (AppConfig appConfig)

public void setAppMasterPackageUri (String appMasterPackageUri)

public void setAppName (String appName)

public void setServiceConfigMap (Map<StringMap<StringObject>> map)

public void setServiceMainClassMap (Map<StringString> serviceMainClassMap)

public void setServicePackageURIMap (Map<StringString> servicePackageURIMap)

public void setServices (List<String> services)

public void setTaskConfigs (List<TaskConfig> taskConfigs)