Interface IExecutable

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

public interface IExecutable
The template of identifying the actual git executable.
Since:
2020-05-05
  • Method Summary

    Modifier and Type
    Method
    Description
    Must return the valid git executable.
    The factory of creating a valid IExecutable implementation.
  • Method Details

    • getExecutable

      String getExecutable()
      Must return the valid git executable.
      Returns:
      The git executable.
    • getInstance

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