public final class CommunityUtil extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static Community | NO_ADVERTISENO_ADVERTISE community. | 
| static Community | NO_EXPORTNO_EXPORT community. | 
| static Community | NO_EXPORT_SUBCONFEDNO_EXPORT_SUBCONFED community. | 
| Constructor and Description | 
|---|
| CommunityUtil(ReferenceCache refCache) | 
| Modifier and Type | Method and Description | 
|---|---|
| Community | create(long asn,
      int semantics)Creates a new Community given AS number value and semantics using generated CommunitiesBuilder. | 
| static Community | create(ReferenceCache refCache,
      long asn,
      int semantics)Creates a new Community given AS number value and semantics using generated CommunitiesBuilder. | 
| static Community | valueOf(ReferenceCache refCache,
       String string)Creates a Community from its String representation. | 
| Community | valueOf(String string)Creates a Community from its String representation. | 
public static final Community NO_EXPORT
public static final Community NO_ADVERTISE
public static final Community NO_EXPORT_SUBCONFED
public CommunityUtil(ReferenceCache refCache)
public Community create(long asn, int semantics)
asn - longsemantics - intpublic Community valueOf(String string)
string - String representation of a communitypublic static Community create(ReferenceCache refCache, long asn, int semantics)
refCache - reference cache to useasn - longsemantics - intpublic static Community valueOf(ReferenceCache refCache, String string)
refCache - reference cache to usestring - String representation of a communityCopyright © 2018 OpenDaylight. All rights reserved.