Class ApkManifestHelper.EndPointDescription
java.lang.Object
com.pnfsoftware.jeb.core.units.code.android.ApkManifestHelper.EndPointDescription
- Direct Known Subclasses:
ApkManifestHelper.ActivityDescription,ApkManifestHelper.ProviderDescription,ApkManifestHelper.ReceiverDescription,ApkManifestHelper.ServiceDescription
- Enclosing class:
ApkManifestHelper
Short description of APK end-point.
-
Constructor Summary
ConstructorsConstructorDescriptionEndPointDescription(String fqname, boolean enabled, boolean exported) Create an endpoint description. -
Method Summary
Modifier and TypeMethodDescriptionGet the endpoint fully-qualified class name.Get endpoint metadata entries.booleanDetermine whether the endpoint is enabled.booleanDetermine whether the endpoint is exported.toString()
-
Constructor Details
-
EndPointDescription
Create an endpoint description.- Parameters:
fqname- fully-qualified endpoint class nameenabled- true if the endpoint is enabledexported- true if the endpoint is exported
-
-
Method Details
-
getFullyQualifiedName
Get the endpoint fully-qualified class name.- Returns:
- the endpoint class name
-
isEnabled
public boolean isEnabled()Determine whether the endpoint is enabled.- Returns:
- true if the endpoint is enabled
-
isExported
public boolean isExported()Determine whether the endpoint is exported.- Returns:
- true if the endpoint is exported
-
getMetadata
Get endpoint metadata entries.- Returns:
- an unmodifiable metadata map
-
toString
-