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
public class InitPlatformAntPerformableImpl extends AbstractAntPerformable
-
-
Field Summary
Fields Modifier and Type Field Description protected booleandryRun-
Fields inherited from class de.hybris.ant.taskdefs.AbstractAntPerformable
tenantId
-
-
Constructor Summary
Constructors Constructor Description InitPlatformAntPerformableImpl()InitPlatformAntPerformableImpl(java.lang.String tenantID)InitPlatformAntPerformableImpl(java.lang.String tenantID, java.lang.String configurationFileName)InitPlatformAntPerformableImpl(java.lang.String tenantID, java.lang.String configurationFileName, java.lang.String dryRun)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanbeforePerform()checks if sufficient attributes provided have alsoprotected JspContextcreateJspContext()protected booleanfailOnError()protected java.util.Map<java.lang.String,java.lang.Object>getDefaultConfiguration()protected java.util.Iterator<Extension>getExtensions()protected java.lang.StringgetProcessName()protected voidoverrideConfiguration(java.util.HashMap<java.lang.String,java.lang.Object> result)protected voidperformImpl()booleanvalidate()protected booleanvalidateConfiguration()protected voidvalidateTenant(java.lang.String tenant)validates tenant name correctness-
Methods inherited from class de.hybris.ant.taskdefs.AbstractAntPerformable
afterPerform, doPerform, getApplicationContext
-
-
-
-
Constructor Detail
-
InitPlatformAntPerformableImpl
public InitPlatformAntPerformableImpl()
-
InitPlatformAntPerformableImpl
public InitPlatformAntPerformableImpl(java.lang.String tenantID)
-
InitPlatformAntPerformableImpl
public InitPlatformAntPerformableImpl(java.lang.String tenantID, java.lang.String configurationFileName)
-
InitPlatformAntPerformableImpl
public InitPlatformAntPerformableImpl(java.lang.String tenantID, java.lang.String configurationFileName, java.lang.String dryRun)
-
-
Method Detail
-
validateTenant
protected void validateTenant(java.lang.String tenant)
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
protected void performImpl() throws java.lang.Exception- Specified by:
performImplin classAbstractAntPerformable- Throws:
java.lang.Exception
-
failOnError
protected boolean failOnError()
- Overrides:
failOnErrorin classAbstractAntPerformable
-
getProcessName
protected java.lang.String getProcessName()
-
getExtensions
protected java.util.Iterator<Extension> getExtensions()
-
validate
public boolean validate()
- Specified by:
validatein interfaceAntPerformable- Overrides:
validatein classAbstractAntPerformable
-
validateConfiguration
protected boolean validateConfiguration()
-
createJspContext
protected JspContext createJspContext()
-
overrideConfiguration
protected void overrideConfiguration(java.util.HashMap<java.lang.String,java.lang.Object> result)
-
getDefaultConfiguration
protected java.util.Map<java.lang.String,java.lang.Object> getDefaultConfiguration()
-
-