Package de.hybris.ant.taskdefs
Class InitPlatformAntPerformableImpl
java.lang.Object
de.hybris.ant.taskdefs.AbstractAntPerformable
de.hybris.ant.taskdefs.InitPlatformAntPerformableImpl
- All Implemented Interfaces:
AntPerformable
- Direct Known Subclasses:
UpdatePlatformAntPerformableImpl
-
Field Summary
FieldsFields inherited from class de.hybris.ant.taskdefs.AbstractAntPerformable
tenantId -
Constructor Summary
ConstructorsConstructorDescriptionInitPlatformAntPerformableImpl(String tenantID) InitPlatformAntPerformableImpl(String tenantID, String configurationFileName) InitPlatformAntPerformableImpl(String tenantID, String configurationFileName, String dryRun) -
Method Summary
Modifier and TypeMethodDescriptionbooleanchecks if sufficient attributes provided have alsoprotected JspContextprotected booleanprotected Stringprotected voidoverrideConfiguration(HashMap<String, Object> result) protected voidbooleanvalidate()protected booleanprotected voidvalidateTenant(String tenant) validates tenant name correctnessMethods inherited from class de.hybris.ant.taskdefs.AbstractAntPerformable
afterPerform, doPerform, getApplicationContext
-
Field Details
-
dryRun
protected final boolean dryRun
-
-
Constructor Details
-
InitPlatformAntPerformableImpl
public InitPlatformAntPerformableImpl() -
InitPlatformAntPerformableImpl
-
InitPlatformAntPerformableImpl
-
InitPlatformAntPerformableImpl
-
-
Method Details
-
validateTenant
Description copied from class:AbstractAntPerformablevalidates tenant name correctness- Overrides:
validateTenantin classAbstractAntPerformable
-
beforePerform
public boolean beforePerform()Description copied from class:AbstractAntPerformablechecks if sufficient attributes provided have also- Specified by:
beforePerformin interfaceAntPerformable- Overrides:
beforePerformin classAbstractAntPerformable
-
performImpl
- Specified by:
performImplin classAbstractAntPerformable- Throws:
Exception
-
failOnError
protected boolean failOnError()- Overrides:
failOnErrorin classAbstractAntPerformable
-
getProcessName
-
getExtensions
-
validate
public boolean validate()- Specified by:
validatein interfaceAntPerformable- Overrides:
validatein classAbstractAntPerformable
-
validateConfiguration
protected boolean validateConfiguration() -
createJspContext
-
overrideConfiguration
-
getDefaultConfiguration
-