Addresses checkstyle warnings about trailing whitespace.
Change-Id: Iaa05edcdb22138ec805ab782d94be7f2c8de6458
Signed-off-by: Robert Varga <rovarga@cisco.com>
public abstract class AbstractListenerRegistration<T extends EventListener> extends AbstractObjectRegistration<T>
implements ListenerRegistration<T> {
-
+
protected AbstractListenerRegistration(final T listener) {
super(listener);
}
/**
* Implementation of this interface delegates all it's calls
* to the delegator if not specified otherwise.
- *
+ *
*
* @param <T> Type of delegate
*/
package org.opendaylight.yangtools.concepts;
public interface Identifiable<T> {
-
+
T getIdentifier();
}
/**
* Mutation behavior
- *
+ *
* This interface is used to prevent same class extends multiple types of MutationBehaviour
* such as {@link Immutable} and {@link Mutable} which are mutually exclusive.
- *
+ *
* @author Tony Tkacik
*
* @param <T> Mutation Type
/**
* Create new Web Socket Client Handler.
- *
+ *
* @param handshaker
* manages handshake process
* @param listener
- *
- *
+ *
+ *
*/
public WebSocketClientHandler(WebSocketClientHandshaker handshaker,
ClientMessageCallback listener) {
/**
* Notifies by Future when handshake process succeeds or fails.
- *
+ *
* @return information about the completation of the handshake
*/
public ChannelFuture handshakeFuture() {
/**
* Notifies client that some event has occurred.
- *
+ *
* @param message
* the message which aid to will be client notified
*/
import org.opendaylight.yangtools.concepts.Codec;
public interface DataStringCodec<T> extends Codec<String, T> {
-
+
Class<T> getInputClass();
String serialize(T data);
}
@Nullable public abstract DataSchemaContextNode<?> getChild(final PathArgument child);
-
+
@Nullable public abstract DataSchemaContextNode<?> getChild(QName child);
public abstract boolean isLeaf();
public interface BuildContextAware {
/**
* Set the build context to be used during the lifetime of this reactor.
- *
+ *
* @param buildContext current build context reference.
*/
void setBuildContext(BuildContext buildContext);
* Specifies the condition when the data node which contains
* <code>when</code> YANG substatement has to be present. If XPath
* expression is evaluated as true then the data node has to be present.
- *
+ *
* @return XPath expression.
*/
RevisionAwareXPath getWhenCondition();
/**
* Specifies the rules which the node which contains <code>must</code> YANG
* substatement has to match.
- *
- *
+ *
+ *
* @return set of <code>MustDefinition</code> (XPath) instances which
* represents the concrete data constraints
*/
/**
* Expreses if the presence of the data element for which this constraint is
* specified is|isn't required.
- *
+ *
* Contains the value of the <b>mandatory</b> YANG substatement.
- *
+ *
* It is used with YANG statements leaf, choice, anyxml, deviate.
- *
+ *
* @return boolean value:
* <ul>
* <li>true - if <code>mandatory</code> YANG keyword argument =
/**
* Returns the minimum required number of data elements for node where this
* constraint is specified.
- *
+ *
* The returning value equals to value of the argument of the
* <b>min-elements</b> YANG substatement.
- *
+ *
* It is used with YANG statements leaf-list, list, deviate.
- *
+ *
* @return integer with minimal number of elements
*/
Integer getMinElements();
/**
* Returns the maximum admissible number of data elements for node where
* this constraint is specified.
- *
+ *
* The returning value equals to value of the argument of the
* <b>max-elements</b> YANG substatement.
- *
+ *
* It is used with YANG statements leaf-list, list, deviate.
- *
+ *
* @return integer with maximum number of elements
*/
Integer getMaxElements();
package org.opendaylight.yangtools.yang.model.api;
/**
- *
+ *
* Contains the methods for getting the data which are part of the YANG
* <code>extensoion</code> statement.
- *
+ *
*/
public interface ExtensionDefinition extends SchemaNode {
* The argument statement is defined in <a
* href="https://tools.ietf.org/html/rfc6020#section-7.17.2">[RFC-6020] The
* argument Statement</a>
- *
+ *
* @return the <code>String</code> that is the name of argument to the
* Keyword. If no argument statement is present the method will
* return <code>null</code>
* By contract if implementation of ExtensionDefinition does not specify the
* yin-element statement the return value is by default set to
* <code>false</code>
- *
+ *
* <br>
* <br>
* For more specific definition please look into <a
* href="https://tools.ietf.org/html/rfc6020#section-7.17.2.2">[RFC-6020]
* The yin-element Statement</a>
- *
+ *
* @return <code>true</code> if the argument is mapped to an XML element in
* YIN or returns <code>false</code> if the argument is mapped to an
* XML attribute.
/**
* Returns type of the instance which implements <code>DataSchemaNode</code>
* .
- *
+ *
* @return type definition of leaf-list schema node which represents the
* value of the argument of the YANG <code>type</code> substatement
* of the <code>leaf-list</code> statement
* YANG 'ordered-by' statement. It defines whether the order of entries
* within this leaf-list are determined by the user or the system. If not
* present, default is false.
- *
+ *
* @return true if ordered-by argument is "user", false otherwise
*/
boolean isUserOrdered();
/**
* Returns the YANG <code>type</code> of the instance of the type
* <code>LeafSchemaNode</code>.
- *
+ *
* @return type definition which represents the value of the YANG
* <code>type</code> substatement for <code>leaf</code> statement
*/
/**
* Returns the default value of YANG <code>leaf</code>.
- *
+ *
* @return string with the value of the argument of YANG
* <code>default</code> substatement of the <code>leaf</code>
* statement
/**
* Returns the units in which are the values of the <code>leaf</code>
* presented.
- *
+ *
* @return string with the value of the argument of YANG <code>units</code>
* substatement of the <code>leaf</code> statement
*/
package org.opendaylight.yangtools.yang.model.api;
/**
- *
+ *
* Contains methods for accessing constraint declaration for valid data in form
* of XPath expressions.<br>
* <br>
/**
* Returns XPath expression which contains constraint.
- *
+ *
* @return XPath expression which represents the value of the argument of
* the <code>must</code> YANG substatement
*/
import org.opendaylight.yangtools.yang.model.api.TypeDefinition;
/**
- *
+ *
* Makes is possible to access to the individual bits values of this type.
- *
+ *
*/
public interface BitsTypeDefinition extends TypeDefinition<BitsTypeDefinition> {
/**
* Returns all bit values.
- *
+ *
* @return list of <code>Bit</code> type instastances with data about all
* individual bits of <code>bits</code> YANG built-in type
*/
List<Bit> getBits();
/**
- *
+ *
* Contains the methods for accessing the data about the individual bit of
* <code>bits</code> YANG type.
*/
/**
* The position value MUST be in the range 0 to 4294967295, and it MUST
* be unique within the bits type.
- *
+ *
* @return The position value of bit in range from 0 to 4294967295.
*/
Long getPosition();
/**
* Returns the name of the concrete bit.
- *
+ *
* @return string with the name of the concrete bit
*/
String getName();
import org.opendaylight.yangtools.yang.model.api.TypeDefinition;
/**
- *
+ *
* Marker interface which marks that type definition represents the built-in
* YANG <code>boolean</code> type.
- *
+ *
*/
public interface BooleanTypeDefinition extends TypeDefinition<BooleanTypeDefinition> {
import org.opendaylight.yangtools.yang.model.api.TypeDefinition;
/**
- *
+ *
* Contains the method for getting the details about YANG <code>identity</code>.
*/
public interface IdentityTypeDefinition extends TypeDefinition<IdentityTypeDefinition> {
/**
* Returns the name of the YANG identity
- *
+ *
* @return QName of the YANG identity
*/
QName getIdentityName();
import org.opendaylight.yangtools.yang.model.api.TypeDefinition;
/**
- *
+ *
* Contains method for getting data from <code>identityref</code> built-in YANG
* type.
- *
+ *
*/
public interface IdentityrefTypeDefinition extends TypeDefinition<IdentityrefTypeDefinition> {
/**
* Returns identity to which the instance of this type refers.
- *
+ *
* @return identity which is specified with the <code>identity</code> YANG
* statement
*/
/**
* Contains the method for getting the data from the YANG <code>pattern</code>
* which is substatement of <code>type</code> statement.
- *
+ *
*/
public interface PatternConstraint extends ConstraintMetaDefinition {
/**
* Returns a regular expression (pattern).
- *
+ *
* @return string with regular expression which is equal to the argument of
* the YANG <code>pattern</code> substatement
*/
/**
* Contains the method which access union item in the union type.
- *
+ *
*/
public interface UnionTypeDefinition extends TypeDefinition<UnionTypeDefinition> {
* Returns type definitions which represent the values of the arguments for
* all YANG <code>type</code> substatement in the main <code>union</code>
* statement.
- *
+ *
* @return list of the type definition which contains the union items.
*/
List<TypeDefinition<?>> getTypes();
public String toString() {
return String.format("%s:%d", getSourceName(),line);
}
-
+
public int getLine() {
return line;
}