Skip navigation links

Oracle® OLAP Java API Reference
11g Release 2 (11.2)

E10794-05


oracle.olapi.syntax
Class BuildSpecification

java.lang.Object
  extended by oracle.olapi.syntax.SyntaxObject
      extended by oracle.olapi.syntax.BuildSpecification


public class BuildSpecification
extends SyntaxObject

A SyntaxObject that contains commands that specify how to build a BuildItem. You can associate a BuildSpecification with a BuildItem in the following ways.

If you create a 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.


Constructor Summary
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.

 

Method Summary
 BuildCommand[] getCommands()
          Gets the BuildCommand objects that are contained by this BuildSpecification.
 java.lang.String getName()
          Gets the name of this BuildSpecification.
 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.

 

Methods inherited from class oracle.olapi.syntax.SyntaxObject
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

BuildSpecification

public 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.
Parameters:
name - A String that contains the name for the BuildSpecification.
commands - An array of BuildCommand objects for the BuildSpecification.

BuildSpecification

public 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.
Parameters:
name - A String that contains the name for the BuildSpecification.
commands - A List of BuildCommand objects for the BuildSpecification.

Method Detail

visit

public 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.
Specified by:
visit in class SyntaxObject
Parameters:
visitor - A SyntaxObjectVisitor.
context - An Object.
Returns:
The Object returned by the visitBuildSpecification method.

getCommands

public BuildCommand[] getCommands()
Gets the BuildCommand objects that are contained by this BuildSpecification.
Returns:
An array of the BuildCommand objects contained by this BuildSpecification.

getName

public java.lang.String getName()
Gets the name of this BuildSpecification.
Returns:
A String that contains the name of this BuildSpecification.

Skip navigation links

Copyright © 2002, 2010, Oracle. All rights reserved.