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 Details

    • ProjectNameEvent

      public ProjectNameEvent(GProp<?> property, String newName, 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 Details

    • getNewName

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

      public 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 StringBuilder paramString(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.