public class BuildSpecification extends SyntaxObject
SyntaxObject that contains commands that specify how to build a BuildItem. You can associate a BuildSpecification with a BuildItem in the following ways.
BuildSpecification as the default BuildSpecification of the AWCubeOrganization of an MdmCube or the AWPrimaryDimensionOrganization of an MdmPrimaryDimension. Create a BuildItem for the cube or dimension using the BuildItem(Buildable obj) constructor.addBuildSpecification(BuildSpecification spec) method of an AWCubeOrganization to add the build specification to the cube organization. Create a BuildItem for the cube using one of the BuildItem(Buildable obj, String buildName) constructors.BuildItem for a cube or a dimension using one of the BuildItem(Buildable obj, BuildSpecification inlineSpec) constructors.BuildItem without specifying a BuildSpecification, a BuildProcess uses the default BuildSpecification for the buildable object. If you create a BuildItem and specify a BuildSpecification, a BuildProcess uses the named or inline BuildSpecification for the buildable object instead of the default build specificication.| Modifier and Type | Field and Description |
|---|---|
static int |
AS_OF_BUILD_SCN |
static int |
AS_OF_CURRENT_SCN
PUBLIC STATIC MEMBERS
|
| Constructor and Description |
|---|
BuildSpecification(java.lang.String name, BuildCommand[] commands)
Creates a new
BuildSpecification that has the specified name and that contains the BuildCommand objects in the specified array. |
BuildSpecification(java.lang.String name, java.util.List<BuildCommand> commands)
Creates a new
BuildSpecification that has the specified name and that contains the BuildCommand objects in the specified list. |
BuildSpecification(java.lang.String name, java.util.List<BuildCommand> commands, OrderByClause orderBy) |
BuildSpecification(java.lang.String name, java.util.List<BuildCommand> commands, OrderByClause orderBy, int flags) |
| Modifier and Type | Method and Description |
|---|---|
BuildCommand[] |
getCommands()
Gets the
BuildCommand objects that are contained by this BuildSpecification. |
int |
getFlags() |
java.lang.String |
getName()
Gets the name of this
BuildSpecification. |
OrderByClause |
getOrderByClause() |
boolean |
isOrderByOnly() |
java.lang.Object |
visit(SyntaxObjectVisitor visitor, java.lang.Object context)
Calls the
visitBuildSpecification method of the SyntaxObjectVisitor and passes that method this BuildSpecification and an Object. |
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax, toSyntaxpublic static final int AS_OF_CURRENT_SCN
public static final int AS_OF_BUILD_SCN
public BuildSpecification(java.lang.String name,
BuildCommand[] commands)
BuildSpecification that has the specified name and that contains the BuildCommand objects in the specified array.name - A String that contains the name for the BuildSpecification.commands - An array of BuildCommand objects for the BuildSpecification.
public BuildSpecification(java.lang.String name,
java.util.List<BuildCommand> commands)
BuildSpecification that has the specified name and that contains the BuildCommand objects in the specified list.name - A String that contains the name for the BuildSpecification.commands - A List of BuildCommand objects for the BuildSpecification.
public BuildSpecification(java.lang.String name,
java.util.List<BuildCommand> commands,
OrderByClause orderBy)
public BuildSpecification(java.lang.String name,
java.util.List<BuildCommand> commands,
OrderByClause orderBy,
int flags)
public java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
visitBuildSpecification method of the SyntaxObjectVisitor and passes that method this BuildSpecification and an Object.visit in class SyntaxObjectvisitor - A SyntaxObjectVisitor.context - An Object.Object returned by the visitBuildSpecification method.public BuildCommand[] getCommands()
BuildCommand objects that are contained by this BuildSpecification.BuildCommand objects contained by this BuildSpecification.public java.lang.String getName()
BuildSpecification.String that contains the name of this BuildSpecification.public OrderByClause getOrderByClause()
public boolean isOrderByOnly()
public int getFlags()