Class Discard

    • Method Detail

      • configure

        public void configure​(java.net.URL base,
                              java.lang.String source,
                              java.lang.String text)
                       throws java.lang.Exception
        Do nothing, as this actor is not actually configurable.

        This class implements Configurable so that the MoML filters can replace graphical actors that implement Configurable with this actor. Note that the actors to be replaced must have an input port named input, so not all Configurable actors can be replaced with this actor.

        Specified by:
        configure in interface Configurable
        Parameters:
        base - Ignored.
        source - Ignored.
        text - Ignored.
        Throws:
        java.lang.Exception - Not thrown in this base class.
      • getConfigureSource

        public java.lang.String getConfigureSource()
        Return null because this actor is not actually configurable.
        Specified by:
        getConfigureSource in interface Configurable
        Returns:
        Always return null.
      • getConfigureText

        public java.lang.String getConfigureText()
        Return null because this actor is not actually configurable.
        Specified by:
        getConfigureText in interface Configurable
        Returns:
        Always return null.
      • _customTypeConstraints

        protected java.util.Set<Inequality> _customTypeConstraints()
        Set the input port greater than or equal to BaseType.GENERAL in case backward type inference is enabled and the input port has no type declared.
        Overrides:
        _customTypeConstraints in class TypedAtomicActor
        Returns:
        A set of inequalities.