Package org.nuxeo.runtime.reload
Class ReloadContext
- java.lang.Object
-
- org.nuxeo.runtime.reload.ReloadContext
-
public class ReloadContext extends Object
The reload actions to perform when reloading the Nuxeo server.- Since:
- 9.3
-
-
Field Summary
Fields Modifier and Type Field Description protected Path
bundlesDestination
The bundle destination relative path, it will be computed from runtime home (usually nxserver).protected List<String>
bundlesNamesToUndeploy
protected List<File>
bundlesToDeploy
-
Constructor Summary
Constructors Constructor Description ReloadContext()
ReloadContext(String bundlesDestination)
Constructor which takes the destination as argument.ReloadContext(Path bundlesDestination)
Constructor which takes the destination as argument.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReloadContext
deploy(File... bundleFiles)
ReloadContext
deploy(List<File> bundleFiles)
ReloadContext
undeploy(String... bundleNames)
ReloadContext
undeploy(List<String> bundleNames)
-
-
-
Field Detail
-
bundlesNamesToUndeploy
protected final List<String> bundlesNamesToUndeploy
-
bundlesToDeploy
protected final List<File> bundlesToDeploy
-
bundlesDestination
protected final Path bundlesDestination
The bundle destination relative path, it will be computed from runtime home (usually nxserver).
-
-
Constructor Detail
-
ReloadContext
public ReloadContext()
-
ReloadContext
public ReloadContext(String bundlesDestination)
Constructor which takes the destination as argument. The given path must be relative to nxserver directory.
-
ReloadContext
public ReloadContext(Path bundlesDestination)
Constructor which takes the destination as argument. The given path must be relative to nxserver directory.
-
-
Method Detail
-
undeploy
public ReloadContext undeploy(List<String> bundleNames)
-
undeploy
public ReloadContext undeploy(String... bundleNames)
-
deploy
public ReloadContext deploy(List<File> bundleFiles)
-
deploy
public ReloadContext deploy(File... bundleFiles)
-
-