In this section: |
The Log directory contains sample Java applications that show how to use the ReportCaster logging features in the API. As with all of the samples, it uses the ReportCaster authentication and context information contained in samples.properties. These sample Java applications are presented as examples for learning purposes and are not represented as production quality applications.
This application does a number of things in an attempt to give examples of functionality. It accepts two arguments: a schedule owner and the Job Description of the schedule. Given the owner and the schedule description, it first runs the specified job. It then waits for the job to be complete and displays the log information.
Usage: java G11_Get_LogByJobId <owner> <scheduleDescription>
This application gets the last log for a specified owner and job description and displays the information to standard out. It accepts two arguments: the schedule owner and the job description.
Usage: java G12_Get_LastLog <owner> <scheduleDescription>
This application writes log information to standard out for all logs generated by the specified schedule. It accepts two arguments: the schedule owner and the job description.
Usage: java G13_Get_LogListBySchedule <owner> <scheduleDescription>
This application writes log information to standard out for all of the logs belonging to a particular owner. It accepts one argument: the owner of the schedule(s).
Usage: java G14_Get_LogListByOwner <owner>
This application writes log information to standard out for all of the logs belonging to a particular owner that ran on or after a specified date. It accepts two arguments: the owner of the schedule(s) and the start date.
Usage: java G15_Get_LogListByOwnerByCalendar <owner><startDate>
This application deleted all logs for a specific schedule. It accepts two arguments: the owner and Job Description.
Usage: java G30_Delete_LogListBySchedule <owner> <scheduleDescription>
WebFOCUS |