ilog.rules.studio.dvs.execution

Class DeployedXomDescriptorValidator

  • java.lang.Object
    • ilog.rules.studio.dvs.execution.DeployedXomDescriptorValidator


  • public class DeployedXomDescriptorValidator
    extends java.lang.Object
    Class responsible for validating the information stored in deployment descriptor files.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      org.eclipse.core.runtime.IStatus validate(IlrRuleProject ruleProject, java.lang.String resUrl)
      Checks that expected XOM deployment information exists for a given Rule project and Rule Execution Server instance URL.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DeployedXomDescriptorValidator

        public DeployedXomDescriptorValidator()
    • Method Detail

      • validate

        public org.eclipse.core.runtime.IStatus validate(IlrRuleProject ruleProject,
                                                java.lang.String resUrl)
        Checks that expected XOM deployment information exists for a given Rule project and Rule Execution Server instance URL. Returns an IStatusIStatus.ERROR
      • ruleProject is null.
      • No deployment descriptor is found in neither ruleProject nor its dependencies.
      • No deployment configuration was found for resUrl.
      • No XOM deployment entry is defined for resUrl.
      Otherwise returns Status.OK_STATUS.
Parameters:
ruleProject - a Rule project
resUrl - a Rule Execution Server instance URL.