Package uk.ac.manchester.spinnaker.alloc
Class SpallocProperties.ReportProperties
java.lang.Object
uk.ac.manchester.spinnaker.alloc.SpallocProperties.ReportProperties
- Enclosing class:
- SpallocProperties
Notify an administrator about problems reported with boards.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ReportProperties
@ConstructorBinding 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.
-