Class ProjectNameEvent

  • All Implemented Interfaces:
    IPostEventProcessing

    public class ProjectNameEvent
    extends SinkEvent
    The event that indicates that a property name has been changed.
    Author:
    Christopher Mindus
    • Constructor Detail

      • ProjectNameEvent

        public ProjectNameEvent​(GProp<?> property,
                                java.lang.String newName,
                                java.lang.String oldName)
        Constructs a new property event.
        Parameters:
        property - The property instance being changed or initialized.
        newName - The new name.
        oldName - The old name.
    • Method Detail

      • getNewName

        public java.lang.String getNewName()
        Gets the new project name.
      • getOldName

        public java.lang.String getOldName()
        Gets the old project name.
      • isVerifyEvent

        public boolean isVerifyEvent()
        Returns if this event is a verify event for a container that processes verification.
        Overrides:
        isVerifyEvent in class GEvent
        Returns:
        true always.
      • paramString

        protected java.lang.StringBuilder paramString​(java.lang.StringBuilder buf)
        Returns the parameter string representing the state of this event. This string is useful for debugging. Super classes adds extra information to the string by preceding it with a comma followed by the extra information.
        Overrides:
        paramString in class GEvent
        Parameters:
        buf - The StringBuilder to append the string to.
        Returns:
        The StringBuilder, i.e. the buf input parameter.