mirror of https://github.com/apache/archiva.git
Added javadoc, defined parameters.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@464671 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3b77abb718
commit
3487a00459
|
@ -29,9 +29,14 @@ import java.util.List;
|
||||||
public class RepositoryManagerDynamicRoleProfile
|
public class RepositoryManagerDynamicRoleProfile
|
||||||
extends AbstractDynamicRoleProfile
|
extends AbstractDynamicRoleProfile
|
||||||
{
|
{
|
||||||
public String getRoleName( String string )
|
/**
|
||||||
|
* Create the Role name for a Repository Manager, using the provided repository id.
|
||||||
|
*
|
||||||
|
* @param repoId the repository id
|
||||||
|
*/
|
||||||
|
public String getRoleName( String repoId )
|
||||||
{
|
{
|
||||||
return ArchivaRoleConstants.REPOSITORY_MANAGER_ROLE_PREFIX + ArchivaRoleConstants.DELIMITER + string;
|
return ArchivaRoleConstants.REPOSITORY_MANAGER_ROLE_PREFIX + ArchivaRoleConstants.DELIMITER + repoId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public List getOperations()
|
public List getOperations()
|
||||||
|
|
|
@ -28,9 +28,14 @@ import java.util.ArrayList;
|
||||||
public class RepositoryObserverDynamicRoleProfile
|
public class RepositoryObserverDynamicRoleProfile
|
||||||
extends AbstractDynamicRoleProfile
|
extends AbstractDynamicRoleProfile
|
||||||
{
|
{
|
||||||
public String getRoleName( String string )
|
/**
|
||||||
|
* Create the Role name for a Repository Observer, using the provided repository id.
|
||||||
|
*
|
||||||
|
* @param repoId the repository id
|
||||||
|
*/
|
||||||
|
public String getRoleName( String repoId )
|
||||||
{
|
{
|
||||||
return ArchivaRoleConstants.REPOSITORY_OBSERVER_ROLE_PREFIX + ArchivaRoleConstants.DELIMITER + string;
|
return ArchivaRoleConstants.REPOSITORY_OBSERVER_ROLE_PREFIX + ArchivaRoleConstants.DELIMITER + repoId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public List getOperations()
|
public List getOperations()
|
||||||
|
|
Loading…
Reference in New Issue