org.apache.maven.wagon.repository
Class RepositoryPermissions

java.lang.Object
  extended by org.apache.maven.wagon.repository.RepositoryPermissions
All Implemented Interfaces:
Serializable

public class RepositoryPermissions
extends Object
implements Serializable

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

Version:
$Id: RepositoryPermissions.java 1153700 2011-08-03 23:10:07Z struberg $
Author:
Brett Porter
See Also:
Serialized Form

Constructor Summary
RepositoryPermissions()
           
 
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 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 setGroup(String group)
          Set the repository group name for the deployed artifact.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryPermissions

public RepositoryPermissions()
Method Detail

getDirectoryMode

public 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(String directoryMode)
Set the repository directory mode for the deployed artifact.

Parameters:
directoryMode - repository directory mode for deployed artifacts

getFileMode

public 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(String fileMode)
Set the repository file mode for the deployed artifact.

Parameters:
fileMode - repository file mode for deployed artifacts

getGroup

public 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(String group)
Set the repository group name for the deployed artifact.

Parameters:
group - repository group for deployed artifacts


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.