Interface ApplicationConfiguration

    • Method Detail

      • mode

        Mode mode()
        Returns the management mode of the application.
        Returns:
        the management mode
      • context

        String context()
        Returns the context path of the application
        Returns:
        the context path
      • proxied

        boolean proxied()
      • context

        ApplicationConfiguration context​(String context)
        Sets the context path of the application
        Parameters:
        context - the context path
        Returns:
        this configuration
      • mode

        ApplicationConfiguration mode​(Mode mode)
        Sets the management mode of this application.
        Parameters:
        the - management mode
        Returns:
        this configuration
      • name

        String name()
        Returns the name of the application.
        Returns:
        the name
      • serviceClass

        String serviceClass()
        Returns the class of the application
        Returns:
        the class
      • serviceClass

        ApplicationConfiguration serviceClass​(String serviceClass)
        Sets the class of the application.
        Parameters:
        serviceClass - the class
        Returns:
        this configuration
      • version

        String version()
        Returns the version of the application.
        Returns:
        the version
      • version

        ApplicationConfiguration version​(String version)
        Sets the version of the application.
        Parameters:
        version - the version
        Returns:
        this configuration
      • description

        String description()
        Returns the description of the application.
        Returns:
        the description
      • description

        ApplicationConfiguration description​(String description)
        Sets the description of the application.
        Parameters:
        description - the description
        Returns:
        this configuration
      • startTokens

        Set<String> startTokens()
        Returns the tokens in which the application operates when it first starts.
        Returns:
        the tokens
      • startTokens

        ApplicationConfiguration startTokens​(Set<String> tokens)
        Sets the tokens in which the application operates when it first starts.
        Parameters:
        scopes - the scopes
        Returns:
        this configuration
      • persistence

        Persistence persistence()
        Returns the persistence manager of the application.
        Returns:
        the manager
      • excludes

        Set<Exclude> excludes()
        Returns a set of request paths that should not be subjected to request management.
        Returns:
        the set of exclude paths.
      • includes

        Set<Include> includes()
        Returns a set of request paths that should be subjected to request management.
        Returns:
        the set of exclude paths.
      • persistence

        ApplicationConfiguration persistence​(Persistence manager)
        Sets the persistence manager of the application.
        Parameters:
        manager - the manager
        Returns:
        this configuration
      • validate

        void validate()
        Validates this configuration.
        Throws:
        IllegalStateException - if the configuration is not valid
      • merge

        void merge​(ApplicationConfiguration config)
        Merges this configuration with another configuration
        Parameters:
        config - the other configuration