Package org.apereo.cas.services.locator
Interface GitRepositoryRegisteredServiceLocator
- All Known Implementing Classes:
DefaultGitRepositoryRegisteredServiceLocator,TypeAwareGitRepositoryRegisteredServiceLocator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
- Since:
- 6.3.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe File extensions.static final StringThe constant PATTERN_ACCEPTED_REPOSITORY_FILES to optionally be combined with root-directory prefix. -
Method Summary
Modifier and TypeMethodDescriptionDetermine file.locate(org.apereo.cas.services.RegisteredService service) Locate file that is linked to the service.static FilenormalizeParentDirectory(File repositoryDirectory, String rootDirectory) Normalize parent directory file.
-
Field Details
-
FILE_EXTENSIONS
The File extensions. -
PATTEN_ACCEPTED_REPOSITORY_FILES
The constant PATTERN_ACCEPTED_REPOSITORY_FILES to optionally be combined with root-directory prefix.
-
-
Method Details
-
determine
Determine file.- Parameters:
service- the serviceextension- the extension- Returns:
- the file
-
locate
Locate file that is linked to the service.- Parameters:
service- the service- Returns:
- the optional
-
normalizeParentDirectory
static File normalizeParentDirectory(File repositoryDirectory, String rootDirectory) throws IOException Normalize parent directory file.- Parameters:
repositoryDirectory- the repository directoryrootDirectory- the root directory- Returns:
- the file
- Throws:
IOException- the io exception
-