org.apache.maven.wagon.repository

Class RepositoryPermissions

public class RepositoryPermissions extends Object

Describes the permissions to set on files uploaded to the repository.

Version: $Id: RepositoryPermissions.java 162476 2005-04-19 02:49:45Z brett $

Author: Brett Porter

Field Summary
StringdirectoryMode
Repository directory mode.
StringfileMode
Repository file mode.
Stringgroup
Repository group name.
Method Summary
StringgetDirectoryMode()
Get the repository directory mode to which an artifact will belong to after deployment.
StringgetFileMode()
Get the repository file mode to which an artifact will belong to after deployment.
StringgetGroup()
Get the repository group name to which an artifact will belong to after deployemnt.
voidsetDirectoryMode(String directoryMode)
Set the repository directory mode for the deployed artifact.
voidsetFileMode(String fileMode)
Set the repository file mode for the deployed artifact.
voidsetGroup(String group)
Set the repository group name for the deployed artifact.

Field Detail

directoryMode

private String directoryMode
Repository directory mode. Modes can be in either textual (ugo+rx) or octal (755) form.

fileMode

private String fileMode
Repository file mode. Modes can be in either textual (ugo+rx) or octal (644) form.

group

private String group
Repository group name.

Method Detail

getDirectoryMode

public String getDirectoryMode()
Get the repository directory mode to which an artifact will belong to after deployment. Not all protolcols permit the changing of the mode.

Returns: mode

getFileMode

public String getFileMode()
Get the repository file mode to which an artifact will belong to after deployment. Not all protolcols permit the changing of the artifact mode.

Returns: repository group name

getGroup

public String getGroup()
Get the repository group name to which an artifact will belong to after deployemnt. Not all protolcols permit the changing of the artifact group.

Returns: repository group name

setDirectoryMode

public void setDirectoryMode(String directoryMode)
Set the repository directory mode for the deployed artifact.

Parameters: directoryMode repository directory mode for deployed artifacts

setFileMode

public void setFileMode(String fileMode)
Set the repository file mode for the deployed artifact.

Parameters: fileMode repository file mode for deployed artifacts

setGroup

public void setGroup(String group)
Set the repository group name for the deployed artifact.

Parameters: group repository group for deployed artifacts