Package com.ultikits.ultitools.manager
Class FileOperationManager.ResolvedTarget
java.lang.Object
com.ultikits.ultitools.manager.FileOperationManager.ResolvedTarget
- Enclosing class:
FileOperationManager
The result of
FileOperationManager.resolveTarget(String, ResolveMode): the final decision and, when it
is allowed, the operand the handler performs I/O on and that operand's mapped
server-root-relative path.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AccessDecisionprivate final Stringprivate final File -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateResolvedTarget(AccessDecision decision, File operand, String mappedPath) -
Method Summary
Modifier and TypeMethodDescription(package private) static FileOperationManager.ResolvedTarget(package private) static FileOperationManager.ResolvedTargetdenied(AccessDecision decision) (package private) AccessDecision(package private) String(package private) File
-
Field Details
-
decision
-
operand
-
mappedPath
-
-
Constructor Details
-
ResolvedTarget
-
-
Method Details
-
denied
-
allowed
-
getDecision
AccessDecision getDecision()- Returns:
- the final decision for the request
-
getOperand
File getOperand()- Returns:
- the I/O operand, or
nullwhen the decision is a refusal
-
getMappedPath
String getMappedPath()- Returns:
- the operand's mapped server-root-relative path, or
nullwhen refused
-