Interface IScript

All Known Implementing Classes:
LinuxOS, MacOS, OtherOS, WindowsOS

public interface IScript
The template of identifying the support script to to run the git command in a particular directory.
Since:
2020-05-05
  • Method Summary

    Modifier and Type
    Method
    Description
    static IScript
    The factory of creating a valid IScript implementation.
    Must give the valid support script.
  • Method Details

    • getScript

      String getScript()
      Must give the valid support script.
      Returns:
      The support script.
    • getInstance

      static IScript getInstance(OSType osType)
      The factory of creating a valid IScript implementation.
      Parameters:
      osType - An instance of OSType
      Returns:
      An implementation of IExecutable.