public abstract class RestTest
extends org.alfresco.bm.driver.event.AbstractEventProcessor
implements org.springframework.context.ApplicationContextAware
| Modifier and Type | Field and Description |
|---|---|
protected String |
alfrescoAdminPassword |
protected String |
alfrescoAdminUsername |
protected org.alfresco.utility.data.DataContent |
dataContent |
protected org.alfresco.utility.data.DataSite |
dataSite |
protected org.alfresco.utility.data.DataUser |
dataUser |
protected org.alfresco.rest.core.RestWrapper |
restClient |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
prepareData() |
protected org.alfresco.bm.common.EventResult |
processEvent(org.alfresco.bm.driver.event.Event event) |
protected abstract void |
restCall(org.alfresco.bm.driver.event.Event event) |
void |
setAlfrescoAdminPassword(String alfrescoAdminPassword) |
void |
setAlfrescoAdminUsername(String alfrescoAdminUsername) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
getName, getWarnDelay, isAutoCloseSessionId, isAutoPropagateSessionId, isChart, processEvent, register, resumeTimer, setAutoCloseSessionId, setAutoPropagateSessionId, setBeanName, setChart, setEventName, setEventNames, setRegistry, setWarnDelay, stopTimer, suspendTimer, toStringprotected org.alfresco.rest.core.RestWrapper restClient
protected org.alfresco.utility.data.DataUser dataUser
protected org.alfresco.utility.data.DataContent dataContent
protected org.alfresco.utility.data.DataSite dataSite
protected String alfrescoAdminUsername
protected String alfrescoAdminPassword
public RestTest(String baseUrl)
public void setAlfrescoAdminUsername(String alfrescoAdminUsername)
public void setAlfrescoAdminPassword(String alfrescoAdminPassword)
protected abstract void restCall(org.alfresco.bm.driver.event.Event event)
throws Exception
Exceptionprotected org.alfresco.bm.common.EventResult processEvent(org.alfresco.bm.driver.event.Event event)
throws Exception
processEvent in class org.alfresco.bm.driver.event.AbstractEventProcessorExceptionpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2005–2018 Alfresco Software. All rights reserved.