Package com.google.cloud.tools.jib.api
Class MainClassFinder.Result
- java.lang.Object
-
- com.google.cloud.tools.jib.api.MainClassFinder.Result
-
- Enclosing class:
- MainClassFinder
public static class MainClassFinder.Result extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MainClassFinder.Result.Type
The type of result.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFoundMainClass()
Gets the found main class.java.util.List<java.lang.String>
getFoundMainClasses()
Gets the found main classes.MainClassFinder.Result.Type
getType()
Gets the type of the result.
-
-
-
Method Detail
-
getFoundMainClass
public java.lang.String getFoundMainClass()
Gets the found main class. Only call ifgetType()
isMainClassFinder.Result.Type.MAIN_CLASS_FOUND
.- Returns:
- the found main class
-
getType
public MainClassFinder.Result.Type getType()
Gets the type of the result.- Returns:
- the type of the result
-
getFoundMainClasses
public java.util.List<java.lang.String> getFoundMainClasses()
Gets the found main classes.- Returns:
- the found main classes
-
-