public class ScopeFormats extends Object
Constructor and Description |
---|
ScopeFormats()
Creates all default scope formats.
|
ScopeFormats(JobManagerScopeFormat jobManagerFormat,
JobManagerJobScopeFormat jobManagerJobFormat,
TaskManagerScopeFormat taskManagerFormat,
TaskManagerJobScopeFormat taskManagerJobFormat,
TaskScopeFormat taskFormat,
OperatorScopeFormat operatorFormat)
Creates a
ScopeFormats with the given scope formats. |
ScopeFormats(String jobManagerFormat,
String jobManagerJobFormat,
String taskManagerFormat,
String taskManagerJobFormat,
String taskFormat,
String operatorFormat)
Creates all scope formats, based on the given scope format strings.
|
Modifier and Type | Method and Description |
---|---|
static ScopeFormats |
fromConfig(Configuration config)
Creates the scope formats as defined in the given configuration
|
JobManagerScopeFormat |
getJobManagerFormat() |
JobManagerJobScopeFormat |
getJobManagerJobFormat() |
OperatorScopeFormat |
getOperatorFormat() |
TaskScopeFormat |
getTaskFormat() |
TaskManagerScopeFormat |
getTaskManagerFormat() |
TaskManagerJobScopeFormat |
getTaskManagerJobFormat() |
public ScopeFormats()
public ScopeFormats(String jobManagerFormat, String jobManagerJobFormat, String taskManagerFormat, String taskManagerJobFormat, String taskFormat, String operatorFormat)
public ScopeFormats(JobManagerScopeFormat jobManagerFormat, JobManagerJobScopeFormat jobManagerJobFormat, TaskManagerScopeFormat taskManagerFormat, TaskManagerJobScopeFormat taskManagerJobFormat, TaskScopeFormat taskFormat, OperatorScopeFormat operatorFormat)
ScopeFormats
with the given scope formats.public JobManagerScopeFormat getJobManagerFormat()
public TaskManagerScopeFormat getTaskManagerFormat()
public TaskManagerJobScopeFormat getTaskManagerJobFormat()
public JobManagerJobScopeFormat getJobManagerJobFormat()
public TaskScopeFormat getTaskFormat()
public OperatorScopeFormat getOperatorFormat()
public static ScopeFormats fromConfig(Configuration config)
config
- The configuration that defines the formatsCopyright © 2014–2018 The Apache Software Foundation. All rights reserved.