toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case FileModeTypeEnum.executable:
      return 'EXECUTABLE';
    case FileModeTypeEnum.normal:
      return 'NORMAL';
    case FileModeTypeEnum.symlink:
      return 'SYMLINK';
  }
}