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 Detail

      • getScript

        java.lang.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.