Package step.core.imports
Class ImportServices
- java.lang.Object
-
- step.core.deployment.AbstractServices
-
- step.core.imports.ImportServices
-
@Singleton @Path("import") public class ImportServices extends AbstractServices
-
-
Field Summary
-
Fields inherited from class step.core.deployment.AbstractServices
configuration, controller
-
-
Constructor Summary
Constructors Constructor Description ImportServices()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<java.lang.String>
importEntity(java.lang.String entity, java.lang.String path, boolean importAll, boolean overwrite)
void
init()
-
Methods inherited from class step.core.deployment.AbstractServices
getContext, getExecutionRunnable, getObjectEnricher, getScheduler, getSession, setSession
-
-
-
-
Method Detail
-
init
@PostConstruct public void init() throws java.lang.Exception
- Overrides:
init
in classAbstractServices
- Throws:
java.lang.Exception
-
importEntity
@POST @Path("/{entity}") @Consumes("application/json") @Produces("application/json") public java.util.Set<java.lang.String> importEntity(@PathParam("entity") java.lang.String entity, @QueryParam("path") java.lang.String path, @QueryParam("importAll") boolean importAll, @QueryParam("overwrite") boolean overwrite) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-