Enum Class Targets
- All Implemented Interfaces:
CompileParameter, ParameterParser, Serializable, Comparable<Targets>, Constable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprivate voidcompile(Context context, List<Targets.Option> targets) getAlias()static StringgetTargetSourcePath(Context context, boolean sourceOnly, Targets.Option target) getUsage()private static voidlistOptions(Context context) private static voidremoveUnusedFiles(Context context, File folder, HashSet<File> usedFiles) voidprivate static Fileprivate static voidsetupFolder(Context context, File path, int retry) static TargetsReturns the enum constant of this class with the specified name.static Targets[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
-
-
Field Details
-
DOTNET_CLIENT_DEPENDENCIES
-
DOTNET_WPF_DEPENDENCIES
-
CACHE_NAME
- See Also:
-
-
Constructor Details
-
Targets
private Targets()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getAlias
- Specified by:
getAliasin interfaceCompileParameter
-
getUsage
- Specified by:
getUsagein interfaceCompileParameter
-
listOptions
-
tryParse
-
check
- Specified by:
checkin interfaceCompileParameter- Throws:
ExitException
-
run
- Specified by:
runin interfaceCompileParameter- Throws:
ExitException
-
getTargetSourcePath
public static String getTargetSourcePath(Context context, boolean sourceOnly, Targets.Option target) throws ExitException - Throws:
ExitException
-
compile
- Throws:
ExitException
-
removeUnusedFiles
private static void removeUnusedFiles(Context context, File folder, HashSet<File> usedFiles) throws ExitException - Throws:
ExitException
-
setupFolder
- Throws:
ExitException
-
saveFile
private static File saveFile(Context context, String temp, boolean escapeName, String name, String content) throws ExitException, IOException - Throws:
ExitExceptionIOException
-
getShortDescription
- Specified by:
getShortDescriptionin interfaceCompileParameter
-
getDetailedDescription
- Specified by:
getDetailedDescriptionin interfaceCompileParameter
-