Package com.cobber.fta
Class AnalyzerContext
- Object
-
- AnalyzerContext
-
public class AnalyzerContext extends Object
Definition of the Context for running an Analysis.
-
-
Constructor Summary
Constructors Constructor Description AnalyzerContext(String streamName, com.cobber.fta.dates.DateTimeParser.DateResolutionMode dateResolutionMode, String compositeName, String[] compositeStreamNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getCompositeName()
Retrieve the composite name (the enclosing object - for example, table or filename) from the Context.String[]
getCompositeStreamNames()
Retrieve the names of all the fields on the enclosing object (for example, table columns or file headers) from the Context.com.cobber.fta.dates.DateTimeParser.DateResolutionMode
getDateResolutionMode()
Retrieve the DateResolutionMode from the Context.String
getStreamName()
Retrieve the stream name from the Context.void
setDateResolutionMode(com.cobber.fta.dates.DateTimeParser.DateResolutionMode dateResolutionMode)
Set the DateResolutionMode on the Context.
-
-
-
Method Detail
-
getStreamName
public String getStreamName()
Retrieve the stream name from the Context.- Returns:
- The String name of this data stream.
-
getDateResolutionMode
public com.cobber.fta.dates.DateTimeParser.DateResolutionMode getDateResolutionMode()
Retrieve the DateResolutionMode from the Context.- Returns:
- The DateResolution mode of this analysis.
-
setDateResolutionMode
public void setDateResolutionMode(com.cobber.fta.dates.DateTimeParser.DateResolutionMode dateResolutionMode)
Set the DateResolutionMode on the Context.- Parameters:
dateResolutionMode
- The new DateResolutionMode.
-
getCompositeName
public String getCompositeName()
Retrieve the composite name (the enclosing object - for example, table or filename) from the Context.- Returns:
- The String name of this composite stream.
-
getCompositeStreamNames
public String[] getCompositeStreamNames()
Retrieve the names of all the fields on the enclosing object (for example, table columns or file headers) from the Context.- Returns:
- The String array with the names of all the elements on this composite.
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classObject
-
-