Class IvmlConfigurationOperationDescriptor

  • All Implemented Interfaces:
    IMetaOperation

    class IvmlConfigurationOperationDescriptor
    extends IvmlOperationDescriptor
    Defines an operation descriptor which enables comfortable access to a top-level decision variable by its name.
    Author:
    Holger Eichelberger
    • Constructor Detail

      • IvmlConfigurationOperationDescriptor

        IvmlConfigurationOperationDescriptor()
        For serialization.
      • IvmlConfigurationOperationDescriptor

        IvmlConfigurationOperationDescriptor​(TypeDescriptor<?> declaringType,
                                             DecisionVariableDeclaration var)
        Creates the operation descriptor.
        Parameters:
        declaringType - the declaring type
        var - the variable to create the descriptor for
    • Method Detail

      • isCompatible

        public IMetaOperation.CompatibilityResult isCompatible​(java.lang.Class<?> retType,
                                                               java.lang.Object... params)
        Description copied from interface: IMetaOperation
        Returns whether the operation represented by this instance is compatible to the given return type and parameters. This method does not consider possible unnamed parameter rather than the underlying Java parameter.
        Parameters:
        retType - the return type (may be null in order to ignore this parameter)
        params - the parameters (may be null if there are none, may be classes)
        Returns:
        an instance of IMetaOperation.CompatibilityResult denoting the actual compatibility level