public class Project extends Object
Project is a group of repositories with common settings eg. permissions
| Constructor and Description |
|---|
Project(String key,
long id,
String name,
String description,
boolean isPublic,
boolean isPersonal,
String type,
String selfUrl) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
long |
getId() |
String |
getKey() |
String |
getName() |
String |
getSelfUrl()
Retrieves the project's url ie.
|
String |
getType()
Retrieves the project's type.
|
boolean |
isPersonal()
Retrieves a flag indicating whether this project is a Stash user's personal project in the system.
|
boolean |
isPublic()
Retrieves a flag indicating whether this project is public.
|
String |
toString() |
public String getKey()
public long getId()
public String getName()
public boolean isPublic()
Note, this flag is taken into account when calculating whether this project is accessible to unauthenticated users but is not the definitive answer.
true if the project has been marked as public, false otherwisepublic boolean isPersonal()
true if the project is a personal project, false otherwisepublic String getType()
public String getSelfUrl()
Copyright © 2020 Atlassian. All rights reserved.