Class CmsRemoteShellConfiguration

java.lang.Object
org.opencms.configuration.CmsRemoteShellConfiguration

public class CmsRemoteShellConfiguration extends Object
RMI shell server configuration.

  • Constructor Details

    • CmsRemoteShellConfiguration

      public CmsRemoteShellConfiguration(boolean enabled, int port)
      Creates a new instance.

      Parameters:
      enabled - true if the remote shell should be enabled
      port - the port to use for creating the RMI registry used by the remote shell.
  • Method Details

    • getPort

      public int getPort()
      Gets the RMI registry port.

      Returns:
      the RMI registry port
    • isEnabled

      public boolean isEnabled()
      Returns true if the remote shell should be enabled.

      Returns:
      true if enabled