public abstract class AbstractAntPerformable extends java.lang.Object implements AntPerformable
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
tenantId |
| Constructor and Description |
|---|
AbstractAntPerformable(java.lang.String tenant) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPerform() |
boolean |
beforePerform()
checks if sufficient attributes provided have also
|
void |
doPerform() |
protected boolean |
failOnError() |
protected ApplicationContext |
getApplicationContext() |
protected abstract void |
performImpl() |
boolean |
validate() |
protected void |
validateTenant(java.lang.String tenant)
validates tenant name correctness
|
protected void validateTenant(java.lang.String tenant)
protected boolean failOnError()
protected abstract void performImpl()
throws java.lang.Exception
java.lang.Exceptionpublic final void doPerform()
throws java.lang.Exception
doPerform in interface AntPerformablejava.lang.Exceptionpublic boolean validate()
validate in interface AntPerformablepublic boolean beforePerform()
beforePerform in interface AntPerformablepublic void afterPerform()
afterPerform in interface AntPerformableprotected ApplicationContext getApplicationContext()
Copyright © 2018 SAP SE. All Rights Reserved.