public interface ProjectRestriction
SelectStoreElementOperation
Modifier and Type | Method and Description |
---|---|
boolean |
allows(IDProvider element)
Evaluates, whether the project-restrictions allow the given element to pass.
|
boolean |
autoReleaseAfterUpload()
Indicates the project performing an auto release after upload.
|
String[] |
getFolders(Store.Type type)
Retrieves the folder restrictions for the given type.
|
String |
getName()
The project's symbolic name.
|
Store.Type[] |
getStoreTypes()
The store types to restrict the project use to.
|
String |
getUploadFolder()
The name of the folder to be used for uploads.
|
@Nullable String getName()
null
, if the restriction refers to the local project.Store.Type[] getStoreTypes()
@NotNull String[] getFolders(Store.Type type)
type
- The store type to retrieve restrictions for.String getUploadFolder()
boolean autoReleaseAfterUpload()
true
, project does auto release after upload.boolean allows(IDProvider element)
element
- The element to check upon.true
, if the restrictions allow the element.Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500