Package org.apache.catalina.util
Class ManifestResource
java.lang.Object
org.apache.catalina.util.ManifestResource
Representation of a Manifest file and its available extensions and
required extensions
- Author:
- Greg Murray, Justyna Horwat
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets the number of available extensionsGets the list of available extensionsint
Gets the number of required extensionsGets the list of required extensionsGets the name of the resourceboolean
Returnstrue
if all required extension dependencies have been meet for thisManifestResource
object.toString()
-
Field Details
-
SYSTEM
public static final int SYSTEM- See Also:
-
WAR
public static final int WAR- See Also:
-
APPLICATION
public static final int APPLICATION- See Also:
-
-
Constructor Details
-
ManifestResource
-
-
Method Details
-
getResourceName
Gets the name of the resource- Returns:
- The name of the resource
-
getAvailableExtensions
Gets the list of available extensions- Returns:
- List of available extensions
-
getRequiredExtensions
Gets the list of required extensions- Returns:
- List of required extensions
-
getAvailableExtensionCount
public int getAvailableExtensionCount()Gets the number of available extensions- Returns:
- The number of available extensions
-
getRequiredExtensionCount
public int getRequiredExtensionCount()Gets the number of required extensions- Returns:
- The number of required extensions
-
isFulfilled
public boolean isFulfilled()Returnstrue
if all required extension dependencies have been meet for thisManifestResource
object.- Returns:
- boolean true if all extension dependencies have been satisfied
-
toString
-