com.atlassian.stash.project.Project |
![]() |
Describes a project in the system.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | KEY_REGEXP | ||||||||||
int | MAX_KEY_LENGTH | The maximum length of a project key. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the project's
type . | |||||||||||
Retrieves a flag indicating whether this project is public.
|
The maximum length of a project key.
visitor | the visitor to process the project instance |
---|
Retrieves a flag indicating whether this project is public.
Note, this flag is taken into account when calculating whether this project is accessible to
unauthenticated users but is not the definitive answer. For a definitive answer, use
isPubliclyAccessible
.
true
if the project has been marked as public, false
otherwise