@Beta public final class PotentialSchemaSource<T extends SchemaSourceRepresentation> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PotentialSchemaSource.Costs
Each registered source has a cost associated with it.
|
Modifier and Type | Method and Description |
---|---|
PotentialSchemaSource<T> |
cachedReference()
Return a cached reference to an object equal to this object.
|
static <T extends SchemaSourceRepresentation> |
create(SourceIdentifier sourceIdentifier,
Class<? extends T> representation,
int cost) |
static <T extends SchemaSourceRepresentation> |
create(SourceIdentifier sourceIdentifier,
Class<? extends T> representation,
PotentialSchemaSource.Costs cost) |
boolean |
equals(Object obj) |
int |
getCost() |
Class<? extends T> |
getRepresentation() |
SourceIdentifier |
getSourceIdentifier() |
int |
hashCode() |
public static <T extends SchemaSourceRepresentation> PotentialSchemaSource<T> create(SourceIdentifier sourceIdentifier, Class<? extends T> representation, int cost)
public static <T extends SchemaSourceRepresentation> PotentialSchemaSource<T> create(SourceIdentifier sourceIdentifier, Class<? extends T> representation, PotentialSchemaSource.Costs cost)
public PotentialSchemaSource<T> cachedReference()
public SourceIdentifier getSourceIdentifier()
public int getCost()
Copyright © 2020 OpenDaylight. All rights reserved.