A B C D E G I J L M N P S T U W

A

AppReleaseInfo - class ch.oscg.jreleaseinfo.info.AppReleaseInfo.
This class provides information gathered from the build environment.
AppReleaseInfo() - Constructor for class ch.oscg.jreleaseinfo.info.AppReleaseInfo
 
addConfiguredParameter(Parameter) - Method in class ch.oscg.jreleaseinfo.anttask.JReleaseInfoAntTask
Set method for any property using the ant type Parameter.

B

BuildNumberHandler - class ch.oscg.jreleaseinfo.BuildNumberHandler.
BuildNumberHandler getting the number from a file.
BuildNumberHandler() - Constructor for class ch.oscg.jreleaseinfo.BuildNumberHandler
 
BuildNumberHandlerIF - interface ch.oscg.jreleaseinfo.BuildNumberHandlerIF.
BuildNumberHandler interface.
buildNumPropertyName - Variable in class ch.oscg.jreleaseinfo.anttask.JReleaseInfoAntTask
Build number property name
buildNumberHandler - Variable in class ch.oscg.jreleaseinfo.anttask.JReleaseInfoAntTask
Build number handler

C

ch.oscg.jreleaseinfo - package ch.oscg.jreleaseinfo
This package contains the code for the JReleaseInfo code generator.
ch.oscg.jreleaseinfo.anttask - package ch.oscg.jreleaseinfo.anttask
This package contains the code for the JReleaseInfo Ant Tasks.
ch.oscg.jreleaseinfo.info - package ch.oscg.jreleaseinfo.info
This package contains the generated Release Information File.
checkIsBoolean(String) - Static method in class ch.oscg.jreleaseinfo.JReleaseInfoUtil
Utility method to check if a String value is a valid boolean value.
className - Variable in class ch.oscg.jreleaseinfo.SourceGenerator
ClassName of version file to be created.
createClassFooter(StringBuffer) - Method in class ch.oscg.jreleaseinfo.SourceGenerator
Utility method to write the class footer code to a StringBuffer.
createClassHeader(StringBuffer) - Method in class ch.oscg.jreleaseinfo.SourceGenerator
Utility method to write the class header code to a StringBuffer.
createClassInfoHeader(StringBuffer) - Method in class ch.oscg.jreleaseinfo.SourceGenerator
Utility method to write the class header code to a StringBuffer.
createCode() - Method in class ch.oscg.jreleaseinfo.SourceGenerator
Utility method to write the class java code to a String.
createCode() - Method in class ch.oscg.jreleaseinfo.SourceGeneratorApp
Utility method to write the class java code to a String.
createCode() - Method in interface ch.oscg.jreleaseinfo.SourceGeneratorIF
Utility method to write the class java code to a String.
createJReleaseInfoFile() - Method in class ch.oscg.jreleaseinfo.JReleaseInfoBean
Utility method to write the class java code to a String.
createMainMethod(StringBuffer, String) - Method in class ch.oscg.jreleaseinfo.SourceGeneratorApp
Utility method to write a the code for the main method.
createMethods(StringBuffer) - Method in class ch.oscg.jreleaseinfo.SourceGenerator
Utility method to write the class method code to a StringBuffer.
createViewerClass(StringBuffer, String) - Method in class ch.oscg.jreleaseinfo.SourceGeneratorApp
Utility method to write a the code for the viewer class.
creator - Variable in class ch.oscg.jreleaseinfo.anttask.JReleaseInfoAntTask
Generator for build info source file.

D

deleteJReleaseInfoFile() - Method in class ch.oscg.jreleaseinfo.JReleaseInfoBean
Utility method to delete the JReleaseInfo file (for test purposes).
deleteJReleaseInfoFile() - Method in class ch.oscg.jreleaseinfo.anttask.JReleaseInfoAntTask
Utility method to delete the JReleaseInfo file (for test purposes).

E

execute(Map, SourceGeneratorIF) - Method in class ch.oscg.jreleaseinfo.JReleaseInfoBean
Execute() method.
execute() - Method in class ch.oscg.jreleaseinfo.anttask.JReleaseInfoAntTask
This is the standard execute() method from Task which must be overwritten.

G

getBuildDate() - Static method in class ch.oscg.jreleaseinfo.info.AppReleaseInfo
Get buildDate (set during build process to Sat Aug 06 16:27:52 CEST 2005).
getBuildId() - Static method in class ch.oscg.jreleaseinfo.info.AppReleaseInfo
Get buildId (set during build process to "20050806-1627").
getJReleaseInfoFile() - Method in class ch.oscg.jreleaseinfo.anttask.JReleaseInfoAntTask
Utility method to check the JReleaseInfo file (for test purposes).
getName() - Method in class ch.oscg.jreleaseinfo.JReleaseInfoProperty
Get name of Property (name, type, value).
getOrganization() - Static method in class ch.oscg.jreleaseinfo.info.AppReleaseInfo
Get organization (set during build process to "Open Source Competence Group").
getPathElement(String) - Static method in class ch.oscg.jreleaseinfo.JReleaseInfoUtil
Utility method to append slash to pathelement.
getProject() - Static method in class ch.oscg.jreleaseinfo.info.AppReleaseInfo
Get project (set during build process to "jreleaseinfo-1.3.0").
getType() - Method in class ch.oscg.jreleaseinfo.JReleaseInfoProperty
Get type of Property (name, type, value).
getUpdatedBuildNumberProperty(int) - Method in class ch.oscg.jreleaseinfo.BuildNumberHandler
Get the JReleaseInfoProperty with the updated buildNumber.
getUpdatedBuildNumberProperty(int) - Method in interface ch.oscg.jreleaseinfo.BuildNumberHandlerIF
Get the JReleaseInfoProperty with the updated buildNumber.
getValue() - Method in class ch.oscg.jreleaseinfo.JReleaseInfoProperty
Get value of Property (name, type, value).
getVersion() - Static method in class ch.oscg.jreleaseinfo.info.AppReleaseInfo
Get version (set during build process to "1.3.0").
getWeb() - Static method in class ch.oscg.jreleaseinfo.info.AppReleaseInfo
Get web (set during build process to "http://www.oscg.ch").

I

isRelativePath(String) - Method in class ch.oscg.jreleaseinfo.anttask.JReleaseInfoAntTask
Utility method to check if a path is relative.
isValidClassNameString(String) - Static method in class ch.oscg.jreleaseinfo.JReleaseInfoUtil
Utility method to check the validity of string for a class name.
isValidNameString(String) - Static method in class ch.oscg.jreleaseinfo.JReleaseInfoUtil
Utility method to check the validity of string for name.
isValidPackageNameString(String) - Static method in class ch.oscg.jreleaseinfo.JReleaseInfoUtil
Utility method to check the validity of string for a package name.
isWithViewer - Variable in class ch.oscg.jreleaseinfo.anttask.JReleaseInfoAntTask
Flag for additional viewer code

J

JReleaseInfoAntTask - class ch.oscg.jreleaseinfo.anttask.JReleaseInfoAntTask.
This Task creates a new java source file with embedded informationen about the current build.
JReleaseInfoAntTask() - Constructor for class ch.oscg.jreleaseinfo.anttask.JReleaseInfoAntTask
 
JReleaseInfoBean - class ch.oscg.jreleaseinfo.JReleaseInfoBean.
Central class creates the java source file for the desired properties.
JReleaseInfoBean() - Constructor for class ch.oscg.jreleaseinfo.JReleaseInfoBean
 
JReleaseInfoProperty - class ch.oscg.jreleaseinfo.JReleaseInfoProperty.
Property class for JReleaseInfoAntTask task.
JReleaseInfoProperty() - Constructor for class ch.oscg.jreleaseinfo.JReleaseInfoProperty
Constructor.
JReleaseInfoProperty(String, String, String) - Constructor for class ch.oscg.jreleaseinfo.JReleaseInfoProperty
Constructor.
JReleaseInfoUtil - class ch.oscg.jreleaseinfo.JReleaseInfoUtil.
Utility class for JReleaseInfoAntTask task.
JReleaseInfoUtil() - Constructor for class ch.oscg.jreleaseinfo.JReleaseInfoUtil
 

L

lowerCaseFirstLetter(String) - Static method in class ch.oscg.jreleaseinfo.JReleaseInfoUtil
Utility method to change the first letter of a string to lowercase.

M

MESSAGE_EXC_CLASSNAME - Static variable in class ch.oscg.jreleaseinfo.JReleaseInfoBean
Exception message on invalid class name.
MESSAGE_EXC_PACKAGENAME - Static variable in class ch.oscg.jreleaseinfo.JReleaseInfoBean
Exception message on invalid package name.
MESSAGE_EXC_TARGETDIR - Static variable in class ch.oscg.jreleaseinfo.JReleaseInfoBean
Exception message on invalid filename.
main(String[]) - Static method in class ch.oscg.jreleaseinfo.info.AppReleaseInfo
Main method.

N

newDate - Variable in class ch.oscg.jreleaseinfo.SourceGenerator
Date for test purposes.

P

PROPERTY_BUILDNUM_LAST - Static variable in class ch.oscg.jreleaseinfo.BuildNumberHandler
Property Name in buildnum file.
PROPNAME_BUILDDATE - Static variable in class ch.oscg.jreleaseinfo.JReleaseInfoBean
Property name for Build Date.
PROPNAME_BUILDNUM - Static variable in interface ch.oscg.jreleaseinfo.BuildNumberHandlerIF
Property name for Build Number.
packageName - Variable in class ch.oscg.jreleaseinfo.SourceGenerator
PackageName of version file to be created, 'null' means default package.
props - Variable in class ch.oscg.jreleaseinfo.SourceGenerator
Membervariables for created class.
props - Variable in class ch.oscg.jreleaseinfo.anttask.JReleaseInfoAntTask
Membervariables for created class.

S

SourceGenerator - class ch.oscg.jreleaseinfo.SourceGenerator.
The SourceGenerator is a simple implementation of the SourceGeneratorIF interface.
SourceGenerator() - Constructor for class ch.oscg.jreleaseinfo.SourceGenerator
Default constructor.
SourceGeneratorApp - class ch.oscg.jreleaseinfo.SourceGeneratorApp.
The SourceGenerator is a simple implementation of the SourceGeneratorIF interface.
SourceGeneratorApp() - Constructor for class ch.oscg.jreleaseinfo.SourceGeneratorApp
Default constructor.
SourceGeneratorIF - interface ch.oscg.jreleaseinfo.SourceGeneratorIF.
Source Generator Interface defines the method an implementation must provide in order to be called as Plug-In from the BuilInfoBean class.
setBuildNumFile(String) - Method in class ch.oscg.jreleaseinfo.BuildNumberHandler
Set method for the fileName containing the buildnumber.
setBuildNumFile(String) - Method in class ch.oscg.jreleaseinfo.anttask.JReleaseInfoAntTask
Set method for the fileName containing the buildnumber.
setBuildNumIncrement(int) - Method in class ch.oscg.jreleaseinfo.anttask.JReleaseInfoAntTask
Set method for the buildNumber increment.
setBuildNumProperty(String) - Method in class ch.oscg.jreleaseinfo.anttask.JReleaseInfoAntTask
Set the build number property name.
setClassName(String) - Method in class ch.oscg.jreleaseinfo.JReleaseInfoBean
Set the class name of the JReleaseInfoAntTask class.
setClassName(String) - Method in class ch.oscg.jreleaseinfo.SourceGenerator
Set the classname.
setClassName(String) - Method in interface ch.oscg.jreleaseinfo.SourceGeneratorIF
Set the classname.
setClassName(String) - Method in class ch.oscg.jreleaseinfo.anttask.JReleaseInfoAntTask
Set method for the classname of the JReleaseInfo file to be created.
setName(String) - Method in class ch.oscg.jreleaseinfo.JReleaseInfoProperty
Set name of Property (name, type, value).
setPackageName(String) - Method in class ch.oscg.jreleaseinfo.JReleaseInfoBean
Set the package name of the JReleaseInfoAntTask class.
setPackageName(String) - Method in class ch.oscg.jreleaseinfo.SourceGenerator
Set the packagename.
setPackageName(String) - Method in interface ch.oscg.jreleaseinfo.SourceGeneratorIF
Set the packagename.
setPackageName(String) - Method in class ch.oscg.jreleaseinfo.anttask.JReleaseInfoAntTask
Set method for the package of the JReleaseInfo class to be created.
setProject(String) - Method in class ch.oscg.jreleaseinfo.anttask.JReleaseInfoAntTask
Set method for the name of the project
setProperties(Map) - Method in class ch.oscg.jreleaseinfo.SourceGenerator
Set the property map.
setProperties(Map) - Method in interface ch.oscg.jreleaseinfo.SourceGeneratorIF
Set the property map.
setTargetDir(String) - Method in class ch.oscg.jreleaseinfo.JReleaseInfoBean
Set the target directory where the file should be created.
setTargetDir(String) - Method in class ch.oscg.jreleaseinfo.anttask.JReleaseInfoAntTask
Set method for target directory where the JReleaseInfo file should be created.
setType(String) - Method in class ch.oscg.jreleaseinfo.JReleaseInfoProperty
Set type of Property (name, type, value).
setValue(String) - Method in class ch.oscg.jreleaseinfo.JReleaseInfoProperty
Set value of Property (name, type, value).
setVersion(String) - Method in class ch.oscg.jreleaseinfo.anttask.JReleaseInfoAntTask
Set method for the version-number.
setWithViewer(boolean) - Method in class ch.oscg.jreleaseinfo.anttask.JReleaseInfoAntTask
Set method for isWithViewer flag

T

TYPE_OBJ_BOOLEAN - Static variable in class ch.oscg.jreleaseinfo.JReleaseInfoProperty
Boolean Type.
TYPE_OBJ_DATE - Static variable in class ch.oscg.jreleaseinfo.JReleaseInfoProperty
Date Type.
TYPE_OBJ_INTEGER - Static variable in class ch.oscg.jreleaseinfo.JReleaseInfoProperty
Integer Type.
TYPE_OBJ_STRING - Static variable in class ch.oscg.jreleaseinfo.JReleaseInfoProperty
String Type.
TYPE_PRI_BOOLEAN - Static variable in class ch.oscg.jreleaseinfo.JReleaseInfoProperty
boolean primitive Type.
TYPE_PRI_INT - Static variable in class ch.oscg.jreleaseinfo.JReleaseInfoProperty
int primitive Type.

U

updateBuildNumber(int) - Method in class ch.oscg.jreleaseinfo.BuildNumberHandler
Main method to keep track of the build number.
upperCaseFirstLetter(String) - Static method in class ch.oscg.jreleaseinfo.JReleaseInfoUtil
Utility method to change the first letter of a string to uppercase.

W

writeDateMethod(StringBuffer, String, String, Date) - Method in class ch.oscg.jreleaseinfo.SourceGenerator
Utility method to write java code for an date method to a StringBuffer.
writeMethodDeclaration(StringBuffer, String, String, String, String, String) - Method in class ch.oscg.jreleaseinfo.SourceGenerator
Utility method to write a method declaration
writeObjectDeclaration(StringBuffer, String, String, String) - Method in class ch.oscg.jreleaseinfo.SourceGenerator
Utility method to write a method declaration
writeObjectMethod(StringBuffer, String, String, String) - Method in class ch.oscg.jreleaseinfo.SourceGenerator
Utility method to write java code for an object method to a StringBuffer.
writeln(StringBuffer, String) - Method in class ch.oscg.jreleaseinfo.SourceGenerator
Utility method to write a line to the StringBuffer and append a line break.
writeln(StringBuffer) - Method in class ch.oscg.jreleaseinfo.SourceGenerator
Utility method to write an empty line to the StringBuffer.

A B C D E G I J L M N P S T U W

Copyright © 2005 Open Source Competence Group (OSCG). All Rights Reserved.