Class AsadminResultMatcher
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<T>
org.hamcrest.CustomTypeSafeMatcher<AsadminResult>
org.glassfish.main.itest.tools.asadmin.AsadminResultMatcher
- All Implemented Interfaces:
org.hamcrest.Matcher<AsadminResult>,org.hamcrest.SelfDescribing
Matcher checking that
Asadmin command succeeded. Prints it's output otherwise.- Author:
- David Matejcek
-
Method Summary
Modifier and TypeMethodDescriptionstatic AsadminResultMatcherprotected booleanmatchesSafely(AsadminResult item) Methods inherited from class org.hamcrest.CustomTypeSafeMatcher
describeToMethods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, matchesMethods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString
-
Method Details
-
matchesSafely
- Specified by:
matchesSafelyin classorg.hamcrest.TypeSafeMatcher<AsadminResult>
-
asadminOK
- Returns:
- matcher checking that
Asadmincommand succeeded. Prints it's output otherwise.
-