Class PluginsControl
java.lang.Object
eu.rarogsoftware.rarog.platform.backdoor.control.BaseControl
eu.rarogsoftware.rarog.platform.backdoor.control.PluginsControl
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record
static final record
-
Constructor Summary
ConstructorsConstructorDescriptionPluginsControl
(eu.rarogsoftware.commons.test.webdriver.EnvironmentData environmentData) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.http.client.methods.CloseableHttpResponse
disablePlugin
(String pluginKey) org.apache.http.client.methods.CloseableHttpResponse
enablePlugin
(String pluginKey) org.apache.http.client.methods.CloseableHttpResponse
getPluginResponse
(String pluginKey) org.apache.http.client.methods.CloseableHttpResponse
installPlugin
(File file) org.apache.http.client.methods.CloseableHttpResponse
installPlugin
(String path) org.apache.http.client.methods.CloseableHttpResponse
installPlugin
(String path, boolean reinstall) org.apache.http.client.methods.CloseableHttpResponse
purgePlugin
(String pluginKey) org.apache.http.client.methods.CloseableHttpResponse
uninstallPlugin
(String pluginKey) Methods inherited from class eu.rarogsoftware.rarog.platform.backdoor.control.BaseControl
adminAuthHeader, backdoorPath, basePath, disableCsrfProtectionHeader, getEntity, getEntity, getResponse, postEntity, postEntityReturningEntity, postEntityReturningEntity, putEntity, putEntityReturningEntity, putEntityReturningEntity, sendDelete, sendDelete
-
Constructor Details
-
PluginsControl
public PluginsControl(eu.rarogsoftware.commons.test.webdriver.EnvironmentData environmentData)
-
-
Method Details
-
getInstalledPlugins
- Throws:
IOException
-
getPlugin
- Throws:
IOException
-
getPluginResponse
public org.apache.http.client.methods.CloseableHttpResponse getPluginResponse(String pluginKey) throws IOException - Throws:
IOException
-
purgePlugin
public org.apache.http.client.methods.CloseableHttpResponse purgePlugin(String pluginKey) throws IOException - Throws:
IOException
-
enablePlugin
public org.apache.http.client.methods.CloseableHttpResponse enablePlugin(String pluginKey) throws IOException - Throws:
IOException
-
disablePlugin
public org.apache.http.client.methods.CloseableHttpResponse disablePlugin(String pluginKey) throws IOException - Throws:
IOException
-
installPlugin
public org.apache.http.client.methods.CloseableHttpResponse installPlugin(String path) throws IOException - Throws:
IOException
-
installPlugin
public org.apache.http.client.methods.CloseableHttpResponse installPlugin(String path, boolean reinstall) throws IOException - Throws:
IOException
-
installPlugin
public org.apache.http.client.methods.CloseableHttpResponse installPlugin(File file) throws IOException - Throws:
IOException
-
uninstallPlugin
public org.apache.http.client.methods.CloseableHttpResponse uninstallPlugin(String pluginKey) throws IOException - Throws:
IOException
-