Class AdminAction

    • Field Detail

      • expiration

        protected int expiration
      • resource

        protected String resource
      • action

        protected String action
    • Constructor Detail

      • AdminAction

        public AdminAction()
      • AdminAction

        public AdminAction​(String id,
                           int expiration,
                           String resource,
                           String action)
    • Method Detail

      • getId

        public String getId()
      • setId

        public void setId​(String id)
      • isExpired

        public boolean isExpired()
      • getExpiration

        public int getExpiration()
        Time in seconds since epoc
        Returns:
      • setExpiration

        public void setExpiration​(int expiration)
      • getResource

        public String getResource()
      • setResource

        public void setResource​(String resource)
      • getAction

        public String getAction()
      • setAction

        public void setAction​(String action)
      • validate

        public abstract boolean validate()