Package org.apache.axis.client
Class HappyClient
- java.lang.Object
-
- org.apache.axis.client.HappyClient
-
public class HappyClient extends java.lang.ObjectClient side equivalent of happyaxis
-
-
Constructor Summary
Constructors Constructor Description HappyClient(java.io.PrintStream out)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetJavaVersionNumber()calculate the java version number by probing for classes; this tactic works across many jvm implementations; taken from Ant.static voidmain(java.lang.String[] args)public happiness test.booleanverifyClientIsHappy(boolean warningsAsErrors)Audit the client, print out status
-
-
-
Method Detail
-
getJavaVersionNumber
public int getJavaVersionNumber()
calculate the java version number by probing for classes; this tactic works across many jvm implementations; taken from Ant.- Returns:
- JRE version as 10,11,12,13,14,...
-
verifyClientIsHappy
public boolean verifyClientIsHappy(boolean warningsAsErrors) throws java.io.IOExceptionAudit the client, print out status- Parameters:
warningsAsErrors- should any warning result in failure?- Returns:
- true if we are happy
- Throws:
java.io.IOException
-
main
public static void main(java.lang.String[] args)
public happiness test. Exits with -1 if the client is unhappy.- Parameters:
args- a list of extra classes to look for
-
-