Class Version

java.lang.Object
com.scivicslab.actoriac.Version

public final class Version extends Object
Provides version information for actor-IaC.

The version is read from version.properties which is populated by Maven resource filtering at build time.

Since:
2.14.0
Author:
devteam@scivicslab.com
  • Field Details

  • Constructor Details

  • Method Details

    • get

      public static String get()
      Returns the actor-IaC version.
      Returns:
      the version string (e.g., "2.14.0-SNAPSHOT")
    • full

      public static String full()
      Returns the full version string for CLI display.
      Returns:
      formatted version string (e.g., "actor-IaC 2.14.0-SNAPSHOT")
    • forCommand

      public static String forCommand(String command)
      Returns the version string for a specific command.
      Parameters:
      command - the command name (e.g., "run", "list")
      Returns:
      formatted version string (e.g., "actor-IaC run 2.14.0-SNAPSHOT")