Package uk.ac.manchester.spinnaker.alloc
Class SpallocProperties.ReportProperties
java.lang.Object
uk.ac.manchester.spinnaker.alloc.SpallocProperties.ReportProperties
- Enclosing class:
- SpallocProperties
public static class SpallocProperties.ReportProperties extends Object
Notify an administrator about problems reported with boards.
-
Constructor Summary
Constructors Constructor Description ReportProperties(boolean send, String from, String to, String subject)
-
Method Summary
-
Constructor Details
-
ReportProperties
public ReportProperties(@DefaultValue("false") boolean send, @DefaultValue("spalloc@localhost") String from, @DefaultValue("root@localhost") String to, @DefaultValue("NOTICE: Board taken out of service") String subject)- Parameters:
send
- Whether to send an email about reported boards.from
- TheFrom:
email address.to
- TheTo:
email address.subject
- TheSubject:
header.
-
-
Method Details
-
isSend
public boolean isSend()- Returns:
- Whether to send an email about reported boards.
-
getFrom
- Returns:
- The
From:
email address.
-
getTo
- Returns:
- The
To:
email address.
-
getSubject
- Returns:
- The
Subject:
header.
-