public interface CommandBuilder extends Builder
CommandBuilder
. CommandManager.createCommandBuilder(nxopen.report.CommandLibrary, nxopen.report.Command)
Modifier and Type | Interface and Description |
---|---|
static class |
CommandBuilder.UserInputLocation
Represents the user input location in command.
|
Modifier and Type | Method and Description |
---|---|
boolean |
active()
Returns a value that indicates whether the command is active or not.
|
BaseArgument |
addArgument(BaseArgument.Type argumentType)
Adds an argument and adds it to the command.
|
UserInput |
addUserInput(CommandBuilder.UserInputLocation userInputLocation,
UserInput.Type userInputType)
Adds an user input and adds it to command.
|
String |
displayName()
Returns the command display name
License requirements: None. |
BaseArgument[] |
getArguments()
Gets all arguments in the command.
|
String[] |
getHint()
Gets the command hint
License requirements: None. |
String[] |
getNamespaces()
Gets the categories which command apply to.
|
UserInput[] |
getUserInputs(CommandBuilder.UserInputLocation userInputLocation)
Gets all user inputs.
|
void |
moveUserInputs(CommandBuilder.UserInputLocation userInputLocation,
UserInput[] pUserInputs,
boolean isBeforeRefUserInput,
UserInput pRefUserInputs)
Moves the user inputs to the new position.
|
String |
name()
Returns the command name
License requirements: None. |
ProgramInformation |
programInformation()
Returns the automation program information object.
|
void |
removeArguments(BaseArgument[] pArguments)
Removes the arguments.
|
void |
removeUserInputs(CommandBuilder.UserInputLocation userInputLocation,
UserInput[] pUserInputs)
Removes the user inputs.
|
void |
setActive(boolean isActive)
License requirements: None. |
void |
setDisplayName(String displayName)
License requirements: None. |
void |
setHint(String[] commandHint)
Sets the command hint
License requirements: None. |
void |
setName(String commandName)
License requirements: None. |
void |
setNamespaces(String[] pNamespaces)
Sets the categories which command apply to.
|
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
String name() throws NXException, RemoteException
NXException
RemoteException
void setName(String commandName) throws NXException, RemoteException
commandName
- NXException
RemoteException
String[] getHint() throws NXException, RemoteException
NXException
RemoteException
void setHint(String[] commandHint) throws NXException, RemoteException
commandHint
- NXException
RemoteException
String displayName() throws NXException, RemoteException
NXException
RemoteException
void setDisplayName(String displayName) throws NXException, RemoteException
displayName
- NXException
RemoteException
boolean active() throws NXException, RemoteException
NXException
RemoteException
void setActive(boolean isActive) throws NXException, RemoteException
isActive
- NXException
RemoteException
void setNamespaces(String[] pNamespaces) throws NXException, RemoteException
pNamespaces
- NXException
RemoteException
String[] getNamespaces() throws NXException, RemoteException
NXException
RemoteException
BaseArgument addArgument(BaseArgument.Type argumentType) throws NXException, RemoteException
argumentType
- NXException
RemoteException
BaseArgument[] getArguments() throws NXException, RemoteException
NXException
RemoteException
void removeArguments(BaseArgument[] pArguments) throws NXException, RemoteException
pArguments
- NXException
RemoteException
UserInput addUserInput(CommandBuilder.UserInputLocation userInputLocation, UserInput.Type userInputType) throws NXException, RemoteException
userInputLocation
- userInputType
- NXException
RemoteException
UserInput[] getUserInputs(CommandBuilder.UserInputLocation userInputLocation) throws NXException, RemoteException
userInputLocation
- NXException
RemoteException
void removeUserInputs(CommandBuilder.UserInputLocation userInputLocation, UserInput[] pUserInputs) throws NXException, RemoteException
userInputLocation
- pUserInputs
- NXException
RemoteException
void moveUserInputs(CommandBuilder.UserInputLocation userInputLocation, UserInput[] pUserInputs, boolean isBeforeRefUserInput, UserInput pRefUserInputs) throws NXException, RemoteException
userInputLocation
- pUserInputs
- isBeforeRefUserInput
- pRefUserInputs
- the target reference user inputNXException
RemoteException
ProgramInformation programInformation() throws NXException, RemoteException
NXException
RemoteException
Copyright 2016 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.