org.apache.maven.wagon.repository

Class RepositoryPermissions


public class RepositoryPermissions
extends java.lang.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

Method Summary

String
getDirectoryMode()
Get the repository directory mode to which an artifact will belong to after deployment.
String
getFileMode()
Get the repository file mode to which an artifact will belong to after deployment.
String
getGroup()
Get the repository group name to which an artifact will belong to after deployemnt.
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
setGroup(String group)
Set the repository group name for the deployed artifact.

Method Details

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