public interface Wire
Capability
to a Requirement
.
Instances of this type must be effectively immutable. That is, for a given instance of this interface, the methods defined by this interface must always return the same result.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Compares this
Wire to another Wire . |
Capability |
getCapability()
Returns the
Capability for this wire. |
Resource |
getProvider()
Returns the resource providing the
capability . |
Requirement |
getRequirement()
Returns the
Requirement for this wire. |
Resource |
getRequirer()
Returns the resource who
requires the
capability . |
int |
hashCode()
Returns the hashCode of this
Wire . |
Capability getCapability()
Capability
for this wire.Capability
for this wire.Requirement getRequirement()
Requirement
for this wire.Requirement
for this wire.Resource getProvider()
capability
.
The returned resource may differ from the resource referenced by the
capability
.
Resource getRequirer()
requires
the
capability
.
The returned resource may differ from the resource referenced by the
requirement
.
boolean equals(Object obj)
Wire
to another Wire
.
This Wire
is equal to another Wire
if they have the same
capability, requirement, provider and requirer.
Copyright © 2006-2015 The Apache Software Foundation. All Rights Reserved.