Class AdminController.CreateGroupModel

java.lang.Object
uk.ac.manchester.spinnaker.alloc.admin.AdminController.CreateGroupModel
Enclosing interface:
AdminController

public static class AdminController.CreateGroupModel
extends Object
Model used when creating a group. No other purpose.
Author:
Donal Fellows
  • Constructor Details

  • Method Details

    • getName

      @NotBlank public @NotBlank String getName()
      Returns:
      The name of the group to create.
    • setName

      public void setName​(String name)
      Parameters:
      name - The name of the group to create.
    • getQuota

      public String getQuota()
      Returns:
      The quota of the group to create, as a String. Empty if the group is quota-less.
    • setQuota

      public void setQuota​(String quota)
      Parameters:
      quota - The quota of the group to create, as a String.
    • toGroupRecord

      public GroupRecord toGroupRecord()
      Returns:
      This request, as a partial group record.
    • isQuotad

      public boolean isQuotad()
      Returns:
      Whether the group has a quota.
    • setQuotad

      public void setQuotad​(boolean value)
      Parameters:
      value - Whether the group has a quota.