hudson.plugins.collabnet.auth
Class CNAuthProjectProperty
java.lang.Object
hudson.model.JobProperty<hudson.model.Job<?,?>>
hudson.plugins.collabnet.auth.CNAuthProjectProperty
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.model.JobProperty<?>>, hudson.tasks.BuildStep
public class CNAuthProjectProperty
- extends hudson.model.JobProperty<hudson.model.Job<?,?>>
Job property to associate a Hudson job with a CollabNet Project for
Authorization purposes (used with CollabNet Authorization).
| Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
hudson.tasks.BuildStep.PublisherList |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from class hudson.model.JobProperty |
owner |
| Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
|
Constructor Summary |
CNAuthProjectProperty(java.lang.String project,
java.lang.Boolean createRoles,
java.lang.Boolean grantDefaults)
|
| Methods inherited from class hudson.model.JobProperty |
getDescriptor, getJobAction, getProjectAction, getRequiredMonitorService, perform, prebuild, setOwner |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONFIGURE_PROPERTY
public static hudson.security.Permission CONFIGURE_PROPERTY
CNAuthProjectProperty
public CNAuthProjectProperty(java.lang.String project,
java.lang.Boolean createRoles,
java.lang.Boolean grantDefaults)
getProject
public java.lang.String getProject()
- Returns:
- the name of the CollabNet project.
createRoles
public boolean createRoles()
- Returns:
- true if creating the roles on the CollabNet server should be
attempted.
grantDefaultRoles
public boolean grantDefaultRoles()
- Returns:
- true if the default roles should be added.
getDefaultUserRoles
public java.util.Collection<java.lang.String> getDefaultUserRoles()
- Returns:
- the default user roles. Lazily initialized.
getDefaultAdminRoles
public java.util.Collection<java.lang.String> getDefaultAdminRoles()
- Returns:
- the default admin roles. Lazily initialized.
Copyright © 2010. All Rights Reserved.