Class AutoTranslateService.TranslationRun
- java.lang.Object
-
- com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRun
-
- Direct Known Subclasses:
AutoTranslateServiceImpl.TranslationRunImpl
- Enclosing interface:
- AutoTranslateService
public abstract static class AutoTranslateService.TranslationRun extends Object
-
-
Constructor Summary
Constructors Constructor Description TranslationRun()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
cancel()
abstract List<AutoTranslateService.TranslationPage>
getTranslatedPages()
boolean
isInProgress()
abstract void
rollback(org.apache.sling.api.resource.ResourceResolver resourceResolver)
String
statusString()
String
toString()
-
-
-
Field Detail
-
id
public String id
-
status
public AutoTranslateService.TranslationStatus status
-
startTime
public String startTime
-
stopTime
public String stopTime
-
user
public String user
-
rootPath
public String rootPath
-
messages
public StringBuilder messages
-
-
Method Detail
-
getTranslatedPages
public abstract List<AutoTranslateService.TranslationPage> getTranslatedPages()
-
cancel
public abstract void cancel()
-
rollback
public abstract void rollback(@Nonnull org.apache.sling.api.resource.ResourceResolver resourceResolver) throws org.apache.sling.api.resource.PersistenceException, com.day.cq.wcm.api.WCMException
- Throws:
org.apache.sling.api.resource.PersistenceException
com.day.cq.wcm.api.WCMException
-
isInProgress
public boolean isInProgress()
-
-