Class EjbHelper
java.lang.Object
org.apache.maven.plugins.ejb.EjbHelper
This class contains some helper methods which do not belong to
EjbMojo.
Think about this helper class, cause i've got the impression this can be made better.
- Author:
- Karl Heinz Marbaise
-
Method Summary
Modifier and TypeMethodDescriptionstatic FilegetJarFile(File basedir, String finalName, String classifier) Returns the Jar file to generate, based on an optional classifier.static booleanhasClassifier(String classifier) Check if the given classifier exists in the meaning of not beingnulland contain something else than only white spaces.static booleanisClassifierValid(String classifier) Check if aclassifieris valid or not.
-
Method Details
-
isClassifierValid
Check if aclassifieris valid or not.- Parameters:
classifier- The classifier which should be checked.- Returns:
- true in case of a valid
classifierfalse otherwise which includes the case whereclassifierisnull.
-
hasClassifier
Check if the given classifier exists in the meaning of not beingnulland contain something else than only white spaces.- Parameters:
classifier- The classifier to be used.- Returns:
- true in case when the given classifier is not
nulland contains something else than white spaces.
-
getJarFile
-