Class TriggerReference


  • public final class TriggerReference
    extends Object
    Trigger reference type.
    • Constructor Detail

      • TriggerReference

        public TriggerReference()
    • Method Detail

      • type

        public TriggerReferenceType type()
        Get the type property: Trigger reference type.
        Returns:
        the type value.
      • withType

        public TriggerReference withType​(TriggerReferenceType type)
        Set the type property: Trigger reference type.
        Parameters:
        type - the type value to set.
        Returns:
        the TriggerReference object itself.
      • referenceName

        public String referenceName()
        Get the referenceName property: Reference trigger name.
        Returns:
        the referenceName value.
      • withReferenceName

        public TriggerReference withReferenceName​(String referenceName)
        Set the referenceName property: Reference trigger name.
        Parameters:
        referenceName - the referenceName value to set.
        Returns:
        the TriggerReference object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.