Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

AttributeDescriptionTypeDefault ValueFixed ValuesMandatory/
Optional
Notes
nameDefines the name of the check item. ES allows you to define check items for each transition. N/A Optional 
forEventDefines whether the check item is required for a specific transition. A check item can be required for more than one event, in which case, a user can give a comma (",") separated list for the forEvent attribute. Null : Keeping the forEvent attribute empty means that a specific check item is not required for any transition event. OptionalThe forEvent value is defined under the <transition> element with the event  event  attribute.
Sample implementations
Code Block
languagehtml/xml
<data name="checkItems">
    <item name="Effective Inspection Completed" forEvent=""></item>
     <item name="Test Cases Passed" forEvent=""></item>
    <item name="Smoke Test Passed" forEvent=""></item>
</data>

...

AttributeDescriptionTypeDefault ValueFixed ValuesMandatory/
Optional
Notes
forEvent

Defines the event for which this validation should be performed. This gives you the flexibility to define validations for each event. As you have the ability to define validations for check items, it makes it easy to validate different things at different levels.

 N/A MandatoryThe forEvent value is defined under the <transition> element with the event  event  attribute.
classDefines the class that is executed at runtime to perform the validation. You must give the full, qualified name of a class that implements the CustomValidations interface, as the value for the class attribute. N/A Mandatory 

...

AttributeDescriptionTypeDefault ValueFixed ValuesMandatory/OptionalNotes
forEvent

Defines the respective transition for which the JavaScript function is executed.

   MandatoryThe forEvent value is defined under the <transition> element with the "event"  attribute.
Sample implementations

...

AttributeDescriptionTypeDefault ValueFixed ValuesMandatory/
Optional
Notes
name

This attribute defines the name of the parameter. 

  
  • currentEnvironment - This defines the fully qualified path of the underlying resource at its current state (before the transition takes place).

  • targetEnvironment - This parameter defines the fully qualified path to which the particular resource is transited when a particular state transition takes place which is defined in the "forevent" attribute of the <execution> element. 
     
  • service.mediatype - This parameter denotes the MIME mediatype of the given service under the state transition.

  • wsdl.mediatype - This parameter denotes the MIME mediatype of the WSDL file for the corresponding service under the state transition.

  • endpoint.mediatype - This parameter denotes the MIME mediatype of the endpoint for the given asset type when the particular state transition takes place.
all these parameters are mandatory. 
valueThis attribute defines the value held by the parameter.     

...