Class CustomUiTextConfigBean

java.lang.Object
edu.internet2.middleware.grouper.ui.customUi.CustomUiTextConfigBean
All Implemented Interfaces:
Comparable<CustomUiTextConfigBean>

public class CustomUiTextConfigBean extends Object implements Comparable<CustomUiTextConfigBean>
text config bean
  • Constructor Details

    • CustomUiTextConfigBean

      public CustomUiTextConfigBean()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also:
    • getEnabled

      public Boolean getEnabled()
      if json is enabled, default true
      Returns:
      the enabled
    • setEnabled

      public void setEnabled(Boolean enabled)
      if json is enabled, default true
      Parameters:
      enabled - the enabled to set
    • main

      public static void main(String[] args)
    • getDefaultText

      public Boolean getDefaultText()
      true if this is the default if nothing else matches
      Returns:
      the defaultText
    • setDefaultText

      public void setDefaultText(Boolean defaultText)
      true if this is the default if nothing else matches
      Parameters:
      defaultText - the defaultText to set
    • getCustomUiTextType

      public String getCustomUiTextType()
      Returns:
      the customUiTextType
    • setCustomUiTextType

      public void setCustomUiTextType(String customUiTextType)
      Parameters:
      customUiTextType - the customUiTextType to set
    • getIndex

      public Integer getIndex()
      index to order the rules if they end and need to end in order
      Returns:
      the index
    • setIndex

      public void setIndex(Integer index)
      index to order the rules if they end and need to end in order
      Parameters:
      index - the index to set
    • getEndIfMatches

      public Boolean getEndIfMatches()
      dont evaluate other rules if this one matches
      Returns:
      the endIfMatches
    • setEndIfMatches

      public void setEndIfMatches(Boolean endIfMatches)
      dont evaluate other rules if this one matches
      Parameters:
      endIfMatches - the endIfMatches to set
    • getScript

      public String getScript()
      script to execute to see if we should display this text.
      Returns:
      the script
    • setScript

      public void setScript(String script)
      script to execute to see if we should display this text.
      Parameters:
      script - the script to set
    • getText

      public String getText()
      text (not needed if this is a boolean variable). Note, could be from externalized text
      Returns:
      the text
    • setText

      public void setText(String text)
      text (not needed if this is a boolean variable). Note, could be from externalized text
      Parameters:
      text - the text to set
    • compareTo

      public int compareTo(CustomUiTextConfigBean other)
      Specified by:
      compareTo in interface Comparable<CustomUiTextConfigBean>
      See Also: