public static class ApkSignerEngine.InputJarEntryInstructions extends Object
The instructions indicate whether to output the entry (see getOutputPolicy()) and
may contain a request to inspect the entry (see getInspectJarEntryRequest()), in
which case the request must be fulfilled before ApkSignerEngine.outputJarEntries() is
invoked.
| Modifier and Type | Class and Description |
|---|---|
static class |
ApkSignerEngine.InputJarEntryInstructions.OutputPolicy
Output policy for an input APK's JAR entry.
|
| Constructor and Description |
|---|
InputJarEntryInstructions(ApkSignerEngine.InputJarEntryInstructions.OutputPolicy outputPolicy)
Constructs a new
InputJarEntryInstructions instance with the provided entry
output policy and without a request to inspect the entry. |
InputJarEntryInstructions(ApkSignerEngine.InputJarEntryInstructions.OutputPolicy outputPolicy,
ApkSignerEngine.InspectJarEntryRequest inspectJarEntryRequest)
Constructs a new
InputJarEntryInstructions instance with the provided entry
output mode and with the provided request to inspect the entry. |
| Modifier and Type | Method and Description |
|---|---|
ApkSignerEngine.InspectJarEntryRequest |
getInspectJarEntryRequest()
Returns the request to inspect the JAR entry or
null if there is no need to
inspect the entry. |
ApkSignerEngine.InputJarEntryInstructions.OutputPolicy |
getOutputPolicy()
Returns the output policy for this entry.
|
public InputJarEntryInstructions(ApkSignerEngine.InputJarEntryInstructions.OutputPolicy outputPolicy)
InputJarEntryInstructions instance with the provided entry
output policy and without a request to inspect the entry.public InputJarEntryInstructions(ApkSignerEngine.InputJarEntryInstructions.OutputPolicy outputPolicy, ApkSignerEngine.InspectJarEntryRequest inspectJarEntryRequest)
InputJarEntryInstructions instance with the provided entry
output mode and with the provided request to inspect the entry.inspectJarEntryRequest - request to inspect the entry or null if there's no
need to inspect the entry.public ApkSignerEngine.InputJarEntryInstructions.OutputPolicy getOutputPolicy()
public ApkSignerEngine.InspectJarEntryRequest getInspectJarEntryRequest()
null if there is no need to
inspect the entry.Copyright © 2016. All rights reserved.