Class Layer.Access

  • Enclosing class:
    Layer

    public static final class Layer.Access
    extends java.lang.Object
    This class represents the access resume of the layer.
    • Constructor Summary

      Constructors 
      Constructor Description
      Access​(boolean granted)  
      Access​(boolean granted, java.lang.String message)  
      Access​(boolean granted, java.lang.String message, java.lang.Throwable throwable)  
    • Method Summary

      Modifier and Type Method Description
      java.lang.String getMessage()
      Return a message associated to the granted resume.
      java.lang.Throwable getThrowable()
      Return the throwable associated to the granted resume.
      boolean isGranted()
      It returns true if access has been granted and false otherwise.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Access

        public Access​(boolean granted,
                      java.lang.String message,
                      java.lang.Throwable throwable)
      • Access

        public Access​(boolean granted,
                      java.lang.String message)
      • Access

        public Access​(boolean granted)
    • Method Detail

      • isGranted

        public boolean isGranted()
        It returns true if access has been granted and false otherwise.
        Returns:
        Granted resume.
      • getMessage

        public java.lang.String getMessage()
        Return a message associated to the granted resume.
        Returns:
        Message.
      • getThrowable

        public java.lang.Throwable getThrowable()
        Return the throwable associated to the granted resume.
        Returns:
        Throwable.