Class ApplicationContainer


  • public class ApplicationContainer
    extends Object
    An application native artifact container wrapper.
    Since:
    3.8.0
    • Method Detail

      • of

        public static ApplicationContainer of​(Object container,
                                              URI uri,
                                              String id,
                                              String title)
        Builds an instance from an application native artifact container.
        Parameters:
        container - the application native artifact container.
        uri - the container URI.
        id - the container identifier.
        title - the container title.
        Returns:
        the corresponding instance.
        Throws:
        NullPointerException - if any parameter is null.
      • getId

        public String getId()
        Gets the container identifier.
        Returns:
        the container identifier.
      • getContainer

        public Object getContainer()
        Gets the native container.
        Returns:
        native container.
      • getResource

        public Link getResource()
        Gets the container resource.
        Returns:
        the container resource.