Package cz.metacentrum.perun.core.api
Class RichDestination
java.lang.Object
cz.metacentrum.perun.core.api.PerunBean
cz.metacentrum.perun.core.api.Auditable
cz.metacentrum.perun.core.api.Destination
cz.metacentrum.perun.core.api.RichDestination
- All Implemented Interfaces:
Serializable
,Comparable<PerunBean>
Destination where services are propagated.
- Author:
- Michal Stava stavamichal@gmail.com
- See Also:
-
Field Summary
Fields inherited from class cz.metacentrum.perun.core.api.Destination
DESTINATIONEMAILTYPE, DESTINATIONHOSTTYPE, DESTINATIONSEMAILTYPE, DESTINATIONSERVICESPECIFICTYPE, DESTINATIONURLTYPE, DESTINATIONUSERHOSTPORTTYPE, DESTINATIONUSERHOSTTYPE, DESTINATIONWINDOWS, DESTINATIONWINDOWSPROXY, PROPAGATIONTYPE_DUMMY, PROPAGATIONTYPE_PARALLEL, PROPAGATIONTYPE_SERIAL
-
Constructor Summary
ConstructorsConstructorDescriptionRichDestination
(Destination destination, Facility facility, Service service) RichDestination
(Destination destination, Facility facility, Service service, boolean blocked) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
boolean
void
setBlocked
(boolean blocked) void
setFacility
(Facility facility) void
setService
(Service service) toString()
Methods inherited from class cz.metacentrum.perun.core.api.Destination
compareTo, getDestination, getHostNameFromDestination, getPropagationType, getType, setDestination, setPropagationType, setType
Methods inherited from class cz.metacentrum.perun.core.api.Auditable
getCreatedAt, getCreatedBy, getCreatedByUid, getModifiedAt, getModifiedBy, getModifiedByUid, setCreatedAt, setCreatedBy, setCreatedByUid, setModifiedAt, setModifiedBy, setModifiedByUid
Methods inherited from class cz.metacentrum.perun.core.api.PerunBean
getBeanName, getId, setId
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Comparable
compareTo
-
Constructor Details
-
RichDestination
public RichDestination() -
RichDestination
-
RichDestination
public RichDestination(Destination destination, Facility facility, Service service, boolean blocked)
-
-
Method Details
-
getFacility
-
setFacility
-
getService
-
setService
-
isBlocked
public boolean isBlocked() -
setBlocked
public void setBlocked(boolean blocked) -
hashCode
public int hashCode()- Overrides:
hashCode
in classDestination
-
equals
- Overrides:
equals
in classDestination
-
serializeToString
- Overrides:
serializeToString
in classDestination
-
toString
- Overrides:
toString
in classDestination
-