Package org.apache.axis.client
Class HappyClient
java.lang.Object
org.apache.axis.client.HappyClient
Client side equivalent of happyaxis
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
calculate the java version number by probing for classes; this tactic works across many jvm implementations; taken from Ant.static void
public happiness test.boolean
verifyClientIsHappy
(boolean warningsAsErrors) Audit the client, print out status
-
Constructor Details
-
HappyClient
-
-
Method Details
-
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
Audit the client, print out status- Parameters:
warningsAsErrors
- should any warning result in failure?- Returns:
- true if we are happy
- Throws:
IOException
-
main
public happiness test. Exits with -1 if the client is unhappy.- Parameters:
args
- a list of extra classes to look for
-