Class RepositoryPermissions
- java.lang.Object
-
- org.apache.maven.wagon.repository.RepositoryPermissions
-
- All Implemented Interfaces:
java.io.Serializable
public class RepositoryPermissions extends java.lang.Object implements java.io.SerializableDescribes the permissions to set on files uploaded to the repository.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringdirectoryModeRepository directory mode.private java.lang.StringfileModeRepository file mode.private java.lang.StringgroupRepository group name.
-
Constructor Summary
Constructors Constructor Description RepositoryPermissions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDirectoryMode()Get the repository directory mode to which an artifact will belong to after deployment.java.lang.StringgetFileMode()Get the repository file mode to which an artifact will belong to after deployment.java.lang.StringgetGroup()Get the repository group name to which an artifact will belong to after deployment.voidsetDirectoryMode(java.lang.String directoryMode)Set the repository directory mode for the deployed artifact.voidsetFileMode(java.lang.String fileMode)Set the repository file mode for the deployed artifact.voidsetGroup(java.lang.String group)Set the repository group name for the deployed artifact.
-
-
-
Field Detail
-
group
private java.lang.String group
Repository group name.
-
directoryMode
private java.lang.String directoryMode
Repository directory mode. Modes can be in either textual (ugo+rx) or octal (755) form.
-
fileMode
private java.lang.String fileMode
Repository file mode. Modes can be in either textual (ugo+rx) or octal (644) form.
-
-
Method Detail
-
getDirectoryMode
public java.lang.String 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
public void setDirectoryMode(java.lang.String directoryMode)
Set the repository directory mode for the deployed artifact.- Parameters:
directoryMode- repository directory mode for deployed artifacts
-
getFileMode
public java.lang.String 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
public void setFileMode(java.lang.String fileMode)
Set the repository file mode for the deployed artifact.- Parameters:
fileMode- repository file mode for deployed artifacts
-
getGroup
public java.lang.String 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
public void setGroup(java.lang.String group)
Set the repository group name for the deployed artifact.- Parameters:
group- repository group for deployed artifacts
-
-