Package com.intershop.gradle.icm.utils
Class ICMEncryptionStrictMode
-
- All Implemented Interfaces:
public class ICMEncryptionStrictModePurpose of this class is to ensure the ICM encryption strictMode is disabled by default for development systems (enabled by default in ICM code). So if
icm.properties:does not contain the property
intershop.encryption.strictMode.enabledthe strictMode is disabled in ICMcontains the property
intershop.encryption.strictMode.enabledset totruethe strictMode is enabled in ICM (explicit developer decision)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classICMEncryptionStrictMode.Companion
-
Field Summary
Fields Modifier and Type Field Description public final static StringPROP_STRICT_MODE_ENABLEDprivate final Function1<Unit, Boolean>isStrictModeEnabledpublic final static ICMEncryptionStrictMode.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description ICMEncryptionStrictMode(Function1<Unit, Boolean> isStrictModeEnabled)
-
Method Summary
Modifier and Type Method Description final Function1<Unit, Boolean>isStrictModeEnabled()final BooleanisStrictModeEnabled()final UnitdisableInICM(Function2<String, Boolean, Unit> applyICMFlag)final UnitapplyICMParameterIfNecessary(Function2<String, Boolean, Unit> actualApply)-
-
Method Detail
-
isStrictModeEnabled
final Function1<Unit, Boolean> isStrictModeEnabled()
-
isStrictModeEnabled
final Boolean isStrictModeEnabled()
-
disableInICM
final Unit disableInICM(Function2<String, Boolean, Unit> applyICMFlag)
-
applyICMParameterIfNecessary
final Unit applyICMParameterIfNecessary(Function2<String, Boolean, Unit> actualApply)
-
-
-
-