script
VelocityTemplate

Velocity macro language script. FOR INTERNAL NOKIA USE ONLY!!! This class will be deprecated soon.



public class VelocityTemplate

Properties
body

type=List (string)
access=read-create
Mandatory on create

description The description of the script.

type=string
default=
minimum=0
maximum=255

ossiCommand The name of the script that becomes a name of externally visible OSSI command. The following characters are illegal: :-[]$*%

type=string
access=read-create
minimum=1
maximum=255
Mandatory on create

  
Properties inherited from ManagedObject
actionMask, children-Set, deploymentState, isFaultSquelched, name, objectFullName, selfAlarmed
 
Methods

reload

Reload all Velocity templates.
Input Parameters:
continueOnFailure : continueOnFailure - (Optional) Continue processing requests in this stream if an exception occurs, unless the request is invalid. Default: false

store

Create/modify the script and load it in Velocity engine.
Input Parameters:
deployer : Deployer - the deployment state
synchronousDeploy : boolean - (Optional) Specify whether to block until the changes have been fully deployed to the network. A value of "true" means to block. A value of "false" means to return immediately. Default: false (asynchronous)
clearOnDeployFailure : boolean - (Optional) Specify whether to clear any failed deployers. A value of "true" means to clear. A value of "false" means to leave the failed deployer. Default: false
deployRetries : int - (Optional) The number of times to attempt re-deployment during synchronous deployment. This parameter is meaningless in the asynchronous case. Default: 0
deployRetryInterval : long - (Optional) The number of milliseconds to wait between deployment retries. This parameter is meaningless in the asynchronous case. Default: 0
taskDescription : string - (Optional) A user friendly description of what the operation does. This information will be used by the task manager.
body : string - Template body.
reloadTemplates : boolean - Reload all velocity templates after storing this one (useful when only one templates gets stored) (invoke method 'reload')
continueOnFailure : continueOnFailure - (Optional) Continue processing requests in this stream if an exception occurs, unless the request is invalid. Default: false
Output Parameters:
commandName : string - The name of the newly defined or changed OSSI command. Empty string if the template passed in was identical to an already defined one.