@InterfaceStability.Evolving @InterfaceAudience.Public public abstract class LogAggregationContext extends Object
LogAggregationContext
represents all of the
information needed by the NodeManager
to handle
the logs for an application.
It includes details such as:
ApplicationSubmissionContext
Constructor and Description |
---|
LogAggregationContext() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getExcludePattern()
Get exclude pattern
|
abstract String |
getIncludePattern()
Get include pattern
|
static LogAggregationContext |
newInstance(String includePattern,
String excludePattern) |
abstract void |
setExcludePattern(String excludePattern)
Set exclude pattern
|
abstract void |
setIncludePattern(String includePattern)
Set include pattern
|
public LogAggregationContext()
@InterfaceAudience.Public @InterfaceStability.Unstable public static LogAggregationContext newInstance(String includePattern, String excludePattern)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract String getIncludePattern()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setIncludePattern(String includePattern)
includePattern
- @InterfaceAudience.Public @InterfaceStability.Unstable public abstract String getExcludePattern()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setExcludePattern(String excludePattern)
excludePattern
- Copyright © 2015 Apache Software Foundation. All Rights Reserved.