Package kr.motd.maven.os
Class Detector
- java.lang.Object
-
- kr.motd.maven.os.Detector
-
public abstract class Detector extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringDETECTED_ARCHstatic StringDETECTED_CLASSIFIERstatic StringDETECTED_NAME
-
Constructor Summary
Constructors Constructor Description Detector()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voiddetect(Properties props)protected abstract voidlog(String message)protected abstract voidlogProperty(String name, String value)
-
-
-
Field Detail
-
DETECTED_NAME
public static final String DETECTED_NAME
- See Also:
- Constant Field Values
-
DETECTED_ARCH
public static final String DETECTED_ARCH
- See Also:
- Constant Field Values
-
DETECTED_CLASSIFIER
public static final String DETECTED_CLASSIFIER
- See Also:
- Constant Field Values
-
-
Method Detail
-
detect
protected void detect(Properties props) throws DetectionException
- Throws:
DetectionException
-
log
protected abstract void log(String message)
-
-