public interface OutputService
| Modifier and Type | Method and Description |
|---|---|
Output |
generateDefaultOutput(Aggregate aggregate)
Returns an output of a specific type for an aggregate.
|
String |
getArtifact(Output output,
Class<? extends ArtifactGenerator> artifactGenerator)
returns the artifact of an output.
|
String |
getFullArtifact(List<? extends Output> outputs,
Class<? extends ArtifactGenerator> artifactGenerator)
returns the full artifact of a list of outputs of a single output type.
|
Class[] |
getSupportedArtifactGeneratorClasses()
returns a list of supported artifact generator classes
that the output service supports.
|
void |
init(Schema schema)
set the state of this service (eventually this service will be stateless, but for now..)
|
Output generateDefaultOutput(Aggregate aggregate) throws OutputValidationException
Note that in the future this call may require additional parameters, to override the default behavior.
aggregate - aggregate objectoutputType - OutputValidationExceptionClass[] getSupportedArtifactGeneratorClasses()
String getArtifact(Output output, Class<? extends ArtifactGenerator> artifactGenerator) throws OutputValidationException
output - output objectOutputValidationExceptionString getFullArtifact(List<? extends Output> outputs, Class<? extends ArtifactGenerator> artifactGenerator) throws OutputValidationException
outputs - a list of outputsOutputValidationExceptionvoid init(Schema schema)
schema - olap schemaCopyright © 2006–2016 Julian Hyde. All rights reserved.