Unsupported content

 

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

CustomCmd - findByTypeAndName

CustomCmd - findByTypeAndName

Description :

This command finds a custom command by passing in the name of the command and an ID that indicates the type of server object that this command can run against (server, directory, or file). This ID is called an association type ID.

Return type : java.lang.Object

Command Input :

Variable Name

Variable Type

Description

typeId

Integer

The type of server object that this command can run against (SERVER - 5004, DIRECTORY - 8, FILE - 7).

Name

String

Name of the custom command.

Example

The following example retrieves a custom command called "ls command." The "ls command" can be executed against servers.

Script





CustomCmd findByTypeAndName 5004 "ls command" 



Was this page helpful? Yes No Submitting... Thank you

Comments