java.lang.Object
com.e1c.g5.v8.dt.platform.standaloneserver.core.Ibcmd

public final class Ibcmd extends Object
The ibcmd 1C:Stanalonse server utility.
  • Method Details

    • of

      public static Ibcmd of(Path serverPath)
      Creates a new ibcmd utility instance.
      Parameters:
      serverPath - the path to the 1C:Stanalonse server location (bin directory with executables), cannot be null
      Returns:
      the new ibcmd utility instance, never null
    • server

      public ServerCommandBuilder server()
      Returns a new server command builder instance.
      Returns:
      a new server command builder instance, never null
    • infobase

      public InfobaseCommandBuilder infobase()
      Returns a new infobase command builder instance.
      Returns:
      a new infobase command builder instance, never null
    • session

      public SessionCommandBuilder session()
      Creates command line builder for session administration mode.
      Returns:
      Command line builder. Never null.
    • exists

      public boolean exists()
      Returns whether the utility exists in file-system.
      Returns:
      whether the utility exists in file-system
    • getExecutablePath

      public Path getExecutablePath()
      Gets path to executable file of the command.
      Returns:
      Path to command. Never null.
    • toString

      public String toString()
      Overrides:
      toString in class Object