Package de.hybris.ant.taskdefs
Class AbstractAntPerformable
java.lang.Object
de.hybris.ant.taskdefs.AbstractAntPerformable
- All Implemented Interfaces:
AntPerformable
- Direct Known Subclasses:
CheckPlatformAntPerformableImpl,ClearLockAntPerformable,CronJobAntPerformableImpl,InitPlatformAntPerformableImpl
Abstraction for ant performables for administration issues.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanchecks if sufficient attributes provided have alsofinal voidprotected booleanprotected org.springframework.context.ApplicationContextprotected abstract voidbooleanvalidate()protected voidvalidateTenant(String tenant) validates tenant name correctness
-
Field Details
-
tenantId
-
-
Constructor Details
-
AbstractAntPerformable
-
-
Method Details
-
validateTenant
validates tenant name correctness -
failOnError
protected boolean failOnError() -
performImpl
- Throws:
Exception
-
doPerform
- Specified by:
doPerformin interfaceAntPerformable- Throws:
Exception
-
validate
public boolean validate()- Specified by:
validatein interfaceAntPerformable
-
beforePerform
public boolean beforePerform()checks if sufficient attributes provided have also- Specified by:
beforePerformin interfaceAntPerformable
-
afterPerform
public void afterPerform()- Specified by:
afterPerformin interfaceAntPerformable
-
getApplicationContext
protected org.springframework.context.ApplicationContext getApplicationContext()
-