public final class PatchExecutionUnitUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
generateHashId(java.lang.String name,
ImportOrganisationUnit organisationUnit,
PatchExecutionModel patchExecution)
Generates a hash based on three passed parameters.
|
static java.lang.String |
generateHashId(java.lang.String name,
java.lang.String organisationUnitRepresentation,
PatchExecutionModel patchExecution)
Generates a hash based on three passed parameters.
|
static java.lang.String |
generateOrganisationUnitName(ImportOrganisationUnit organisationUnit)
Generate a organisation unit name based on the organisation hierarchy.
|
static int |
getNextUnitNumber(PatchExecutionModel patchExecution)
Returns a number of imported
PatchExecutionUnitModel incremented by 1. |
public static java.lang.String generateOrganisationUnitName(ImportOrganisationUnit organisationUnit)
organisationUnit - an organisation unit objectpublic static java.lang.String generateHashId(java.lang.String name,
ImportOrganisationUnit organisationUnit,
PatchExecutionModel patchExecution)
name - a name of an actionorganisationUnit - organisation unit representationpatchExecution - patch execution modelPatchExecutionUnitModelpublic static java.lang.String generateHashId(java.lang.String name,
java.lang.String organisationUnitRepresentation,
PatchExecutionModel patchExecution)
name - a name of an actionorganisationUnitRepresentation - organisation unit chainpatchExecution - patch execution modelPatchExecutionUnitModelpublic static int getNextUnitNumber(PatchExecutionModel patchExecution)
PatchExecutionUnitModel incremented by 1.patchExecution - patch execution modelPatchExecutionUnitModel + 1Copyright © 2018 SAP SE. All Rights Reserved.