Package com.sodius.oslc.server.process
Class ApplicationContainer
- java.lang.Object
-
- com.sodius.oslc.server.process.ApplicationContainer
-
public class ApplicationContainer extends Object
An application native artifact container wrapper.- Since:
- 3.8.0
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getContainer()
Gets the native container.String
getId()
Gets the container identifier.Link
getResource()
Gets the container resource.static ApplicationContainer
of(Object container, URI uri, String id, String title)
Builds an instance from an application native artifact container.String
toString()
-
-
-
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 isnull
.
-
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.
-
-