Class ShowHideIfMacroParameters

java.lang.Object
com.xwiki.macros.showhideif.macro.ShowHideIfMacroParameters

public class ShowHideIfMacroParameters extends Object
Parameters for HideIfMacro and ShowIfMacro Macros.
Since:
1.23.0
Version:
$Id: $
  • Constructor Details

    • ShowHideIfMacroParameters

      public ShowHideIfMacroParameters()
  • Method Details

    • getMatchUsing

      public ShowHideIfMacroParameters.Matcher getMatchUsing()
      Returns:
      the match using value.
    • setMatchUsing

      public void setMatchUsing(ShowHideIfMacroParameters.Matcher matchUsing)
      Parameters:
      matchUsing - the match using value.
    • getAuthenticationType

      public ShowHideIfMacroParameters.AuthType getAuthenticationType()
      Returns:
      the authentication type.
    • setAuthenticationType

      public void setAuthenticationType(ShowHideIfMacroParameters.AuthType authenticationType)
      Parameters:
      authenticationType - the authentication type.
    • getUsers

      public com.xwiki.macros.internal.userlist.UserReferenceList getUsers()
      Returns:
      the list of users which should match.
    • setUsers

      public void setUsers(com.xwiki.macros.internal.userlist.UserReferenceList users)
      Parameters:
      users - the list of users which should match.
    • getGroups

      public com.xwiki.macros.internal.grouplist.GroupReferenceList getGroups()
      Returns:
      the list of groups which should match.
    • setGroups

      public void setGroups(com.xwiki.macros.internal.grouplist.GroupReferenceList groups)
      Parameters:
      groups - the list of groups which should match.
    • getDisplayType

      public ShowHideIfMacroParameters.DisplayType getDisplayType()
      Returns:
      the display type which should match.
    • setDisplayType

      public void setDisplayType(ShowHideIfMacroParameters.DisplayType displayType)
      Parameters:
      displayType - the display type which should match.