Class FileRestrictionChecker
- java.lang.Object
-
- de.hsh.graja.transform.submission.FileRestrictionChecker
-
public class FileRestrictionChecker extends Object
-
-
Constructor Summary
Constructors Constructor Description FileRestrictionChecker(List<FileRestrictionTO> fileRestrictions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileRestrictionMatch
checkMatch(String path)
List<String>
describeSeenProhibitedRestrictions()
List<String>
describeUnseenRequiredRestrictions()
String
getDescription()
List<String>
getSeenPaths()
List<FileRestrictionTO>
getSeenProhibitedRestrictions()
List<FileRestrictionTO>
getUnseenRequiredRestrictions()
boolean
isRequiredOrOptional(String path)
-
-
-
Constructor Detail
-
FileRestrictionChecker
public FileRestrictionChecker(List<FileRestrictionTO> fileRestrictions)
-
-
Method Detail
-
checkMatch
public FileRestrictionMatch checkMatch(String path)
-
isRequiredOrOptional
public boolean isRequiredOrOptional(String path)
-
getUnseenRequiredRestrictions
public List<FileRestrictionTO> getUnseenRequiredRestrictions()
-
getSeenProhibitedRestrictions
public List<FileRestrictionTO> getSeenProhibitedRestrictions()
-
getDescription
public String getDescription()
-
-