Class RepositoryPermissions
java.lang.Object
org.apache.maven.wagon.repository.RepositoryPermissions
- All Implemented Interfaces:
Serializable
Describes the permissions to set on files uploaded to the repository.
- Author:
- Brett Porter
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the repository directory mode to which an artifact will belong to after deployment.Get the repository file mode to which an artifact will belong to after deployment.getGroup()
Get the repository group name to which an artifact will belong to after deployment.void
setDirectoryMode
(String directoryMode) Set the repository directory mode for the deployed artifact.void
setFileMode
(String fileMode) Set the repository file mode for the deployed artifact.void
Set the repository group name for the deployed artifact.
-
Constructor Details
-
RepositoryPermissions
public RepositoryPermissions()
-
-
Method Details
-
getDirectoryMode
Get the repository directory mode to which an artifact will belong to after deployment. Not all protocols permit the changing of the mode.- Returns:
- mode
-
setDirectoryMode
Set the repository directory mode for the deployed artifact.- Parameters:
directoryMode
- repository directory mode for deployed artifacts
-
getFileMode
Get the repository file mode to which an artifact will belong to after deployment. Not all protocols permit the changing of the artifact mode.- Returns:
- repository group name
-
setFileMode
Set the repository file mode for the deployed artifact.- Parameters:
fileMode
- repository file mode for deployed artifacts
-
getGroup
Get the repository group name to which an artifact will belong to after deployment. Not all protocols permit the changing of the artifact group.- Returns:
- repository group name
-
setGroup
Set the repository group name for the deployed artifact.- Parameters:
group
- repository group for deployed artifacts
-