public class SushiConnector
extends java.lang.Object
Constructor and Description |
---|
SushiConnector(Publisher publisher)
establishes a connection to the SUSHI provider.
|
Modifier and Type | Method and Description |
---|---|
javax.xml.soap.SOAPMessage |
getSushi()
retrieves the statistics as SOAP message.
|
void |
setEndDate(java.time.LocalDate endDate)
sets the end date
|
void |
setRelease(int release)
sets the release of the SUSHI report
|
void |
setStartDate(java.time.LocalDate startDate)
sets the start date
|
void |
setType(java.lang.String type)
sets the type of SUSHI report
|
public SushiConnector(Publisher publisher)
publisher
- the SUSHI providerpublic javax.xml.soap.SOAPMessage getSushi() throws java.lang.Exception
java.lang.Exception
- thrown if anything, that can go wrong, goes wrongpublic void setRelease(int release)
release
- the version of the reportpublic void setType(java.lang.String type)
type
- the type of the reportpublic void setStartDate(java.time.LocalDate startDate)
startDate
- the start datepublic void setEndDate(java.time.LocalDate endDate)
endDate
- the end date