public class ManifestResource extends Object
Modifier and Type | Field and Description |
---|---|
static int |
APPLICATION |
static int |
SYSTEM |
static int |
WAR |
Constructor and Description |
---|
ManifestResource(String resourceName,
Manifest manifest,
int resourceType) |
Modifier and Type | Method and Description |
---|---|
int |
getAvailableExtensionCount()
Gets the number of available extensions
|
ArrayList<Extension> |
getAvailableExtensions()
Gets the list of available extensions
|
int |
getRequiredExtensionCount()
Gets the number of required extensions
|
ArrayList<Extension> |
getRequiredExtensions()
Gets the list of required extensions
|
String |
getResourceName()
Gets the name of the resource
|
boolean |
isFulfilled()
Returns
true if all required extension dependencies
have been meet for this ManifestResource object. |
boolean |
requiresExtensions()
Convenience method to check if this
ManifestResource
has an requires extensions. |
String |
toString() |
public static final int SYSTEM
public static final int WAR
public static final int APPLICATION
public String getResourceName()
public ArrayList<Extension> getAvailableExtensions()
public ArrayList<Extension> getRequiredExtensions()
public int getAvailableExtensionCount()
public int getRequiredExtensionCount()
public boolean requiresExtensions()
ManifestResource
has an requires extensions.public boolean isFulfilled()
true
if all required extension dependencies
have been meet for this ManifestResource
object.Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.