ch.tatool.core.module.creator
Class ModuleCreationWorker
java.lang.Object
ch.tatool.core.module.creator.ModuleCreationWorker
- All Implemented Interfaces:
- Worker
public class ModuleCreationWorker
- extends Object
- implements Worker
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModuleCreationWorker
public ModuleCreationWorker()
createModule
public void createModule(ModuleService moduleService,
UserAccount userAccount,
File configurationFile,
File moduleDataFile,
String defaultModuleName,
boolean failIfNameExists)
- Create a module given a configuration file
- Parameters:
moduleService - configurationFile - defaultModuleName - a name to use for the module if the name property
has not been set. If null and not set, this will cause an error to be thrown
hasFinished
public boolean hasFinished()
- Specified by:
hasFinished in interface Worker
getErrorTitle
public String getErrorTitle()
- Specified by:
getErrorTitle in interface Worker
setErrorTitle
public void setErrorTitle(String errorTitle)
getErrorText
public String getErrorText()
- Specified by:
getErrorText in interface Worker
setErrorText
public void setErrorText(String errorText)
getModule
public Module getModule()
setModule
public void setModule(Module module)
setMessages
public void setMessages(Messages messages)
getMessages
public Messages getMessages()
Copyright © 2012. All Rights Reserved.