| Modifier and Type | Field and Description |
|---|---|
protected StructureState |
AbstractPatch.structureState |
| Modifier and Type | Method and Description |
|---|---|
StructureState |
Patch.getStructureState()
Gets
StructureState from this patch |
StructureState |
AbstractPatch.getStructureState() |
| Modifier and Type | Method and Description |
|---|---|
void |
Patch.createProjectData(StructureState structureState)
Execute Patch with given structureState.
|
| Constructor and Description |
|---|
AbstractPatch(java.lang.String patchId,
java.lang.String patchName,
Release release,
StructureState structureState) |
| Modifier and Type | Method and Description |
|---|---|
StructureState |
ImportOrganisationUnit.getStructureState()
Get version in which this organisation should be introduced in.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
StructureState.isAfter(StructureState structureState)
Checks if instance of given structure state is after structure state passed in method.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
StructureStateUtilsTest.TestStructureState |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<StructureState> |
StructureStateUtils.getStructureStateGap(StructureState currentStructureState,
StructureState executedStructureState)
This method returns list of StructureState that is between executedStructureState (excluding) and
currentStructureState (including).
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.Set<ImportLanguage> |
StructureStateUtils.getAllGlobalLanguages(ImportOrganisationUnit[] units,
StructureState structureState)
This method returns set of languages that were defined for ImportOrganisationUnit-s introduced until given structureState
(including).
|
static java.util.Set<ImportLanguage> |
StructureStateUtils.getNewGlobalLanguages(ImportOrganisationUnit[] units,
StructureState structureState)
This method returns set of languages that were defined for ImportOrganisationUnit introduced in given structureState (and
were not used in any structureState before).
It means that: languages that were used by organisation that were defined in given structureState are added to result languages that were used by organisation that were defined in previous structureStates are extracted from result |
static java.util.Set<ImportLanguage> |
StructureStateUtils.getNewLanguages(ImportOrganisationUnit unit,
StructureState structureState)
This method returns set of languages that were defined for child ImportOrganisationUnit introduced in given
structureState (and were not used in any structureState before).
|
static java.util.List<StructureState> |
StructureStateUtils.getStructureStateGap(StructureState currentStructureState,
StructureState executedStructureState)
This method returns list of StructureState that is between executedStructureState (excluding) and
currentStructureState (including).
|
boolean |
StructureStateUtilsTest.TestStructureState.isAfter(StructureState structureState) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractDemoPatch.createGlobalData(StructureState structureState,
boolean update)
This method is responsible for update global data (not organisation specific).
|
void |
MajorErrorPatch.createProjectData(StructureState structureState)
Creates project data.
|
void |
AbstractDemoPatch.createProjectData(StructureState structureState) |
protected void |
AbstractDemoPatch.createShopsData(java.util.Collection<ShopOrganisation> shops,
StructureState structureState,
boolean update)
Deprecated.
since 1811
This method will update set of given shop organisations with given structureState. Update indicate if only
language specific files should be imported.
|
protected void |
AbstractDemoPatch.createShopsData(StructureState structureState,
boolean update)
This method will update shop data with specific structureState.
|
| Constructor and Description |
|---|
AbstractDemoPatch(java.lang.String patchId,
java.lang.String patchName,
Release release,
StructureState structureState) |
| Modifier and Type | Class and Description |
|---|---|
class |
StructureState
Enumeration that defines structure state; it may be used in different objects to indicate for which milestone given
object was introduced.
|
| Modifier and Type | Method and Description |
|---|---|
StructureState |
CountryOrganisation.getStructureState() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
StructureState.isAfter(StructureState structureState) |
Copyright © 2018 SAP SE. All Rights Reserved.