Class ReplacerEnvironment


  • public class ReplacerEnvironment
    extends java.lang.Object
    Provides a global environment.
    Version:
    1.0
    Author:
    Andreas
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String OPERATION_PART
      Identifier for "operation" part (null acts as zero).
      static java.lang.String UNITSELECTION_PART
      Identifier for the unit selection part.
    • Constructor Summary

      Constructors 
      Constructor Description
      ReplacerEnvironment()
      Creates new ReplacerEnvironment
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      EnvironmentPart getPart​(java.lang.String part)
      Returns the part identified by the parameter part.
      void reset()
      Resets all parts.
      void setPart​(java.lang.String name, EnvironmentPart part)
      Sets a part for the given name.
      • Methods inherited from class java.lang.Object

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

      • OPERATION_PART

        public static final java.lang.String OPERATION_PART
        Identifier for "operation" part (null acts as zero).
        See Also:
        Constant Field Values
      • UNITSELECTION_PART

        public static final java.lang.String UNITSELECTION_PART
        Identifier for the unit selection part.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ReplacerEnvironment

        public ReplacerEnvironment()
        Creates new ReplacerEnvironment
    • Method Detail

      • getPart

        public EnvironmentPart getPart​(java.lang.String part)
        Returns the part identified by the parameter part.
      • setPart

        public void setPart​(java.lang.String name,
                            EnvironmentPart part)
        Sets a part for the given name.