Class MonitoringRequest
java.lang.Object
ecmwf.ecpds.master.plugin.http.controller.monitoring.MonitoringRequest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intThe Constant DESTINATIONS_PER_PAGE_OR_COLUMN. -
Constructor Summary
ConstructorsConstructorDescriptionSimplified constructors that only creates a basic unparametrised "productWindow".MonitoringRequest(javax.servlet.http.HttpServletRequest req, MonitoringSessionActionForm ses) Instantiates a new monitoring request. -
Method Summary
Modifier and TypeMethodDescriptionGets the contacts.Gets the destinations.Gets the filtered.static intgetNearestToScheduleIndex(Collection<ProductStatus> productStatuses) Gets the nearest to schedule index.Collection<ecmwf.web.util.bean.StringPair> Gets the network options.getPage()Gets the page.getPages()Gets the pages.Gets the product window.Gets the product window header.ecmwf.ecpds.master.plugin.http.controller.monitoring.MonitoringRequest.StatusGets the status.Collection<ecmwf.web.util.bean.StringPair> Gets the status options.intGets the steps per column.Collection<ecmwf.web.util.bean.StringPair> Gets the type options.Gets the updated.static voidrefreshContactsList(Map<String, String> contactsPerDestinations) Refresh contacts list.voidSets the page.
-
Field Details
-
DESTINATIONS_PER_PAGE_OR_COLUMN
protected static final int DESTINATIONS_PER_PAGE_OR_COLUMNThe Constant DESTINATIONS_PER_PAGE_OR_COLUMN.
-
-
Constructor Details
-
MonitoringRequest
public MonitoringRequest(javax.servlet.http.HttpServletRequest req, MonitoringSessionActionForm ses) throws TransferException, MonitoringException Instantiates a new monitoring request.- Parameters:
req- the reqses- the ses- Throws:
TransferException- the transfer exceptionMonitoringException- the monitoring exception
-
MonitoringRequest
Simplified constructors that only creates a basic unparametrised "productWindow".- Throws:
TransferException- the transfer exceptionMonitoringException- the monitoring exception
-
-
Method Details
-
refreshContactsList
-
getDestinations
-
getTypeOptions
Gets the type options.- Returns:
- the type options
-
getNetworkOptions
Gets the network options.- Returns:
- the network options
-
getStatusOptions
Gets the status options.- Returns:
- the status options
-
getProductWindow
Gets the product window.- Returns:
- the product window
-
getProductWindowHeader
Gets the product window header.- Returns:
- the product window header
-
getStatus
public ecmwf.ecpds.master.plugin.http.controller.monitoring.MonitoringRequest.Status getStatus()Gets the status.- Returns:
- the status
-
getContacts
-
getPage
-
setPage
-
getPages
-
getFiltered
-
getNearestToScheduleIndex
Gets the nearest to schedule index.- Parameters:
productStatuses- the product statuses- Returns:
- The position within the where the product to sent next is.
-
getUpdated
-
getStepsPerColumn
public int getStepsPerColumn()Gets the steps per column.- Returns:
- the steps per column
-