- Added comments
This commit is contained in:
@@ -2,8 +2,16 @@ package org.openautonomousconnection.protocol.annotations;
|
||||
|
||||
import org.openautonomousconnection.protocol.versions.ProtocolVersion;
|
||||
|
||||
/**
|
||||
* Annotation to provide metadata about protocol handlers or classes.
|
||||
*/
|
||||
public @interface ProtocolInfo {
|
||||
|
||||
/**
|
||||
* Specifies the side of the protocol that the annotated class or method is associated with.
|
||||
* Default is ALL, indicating that it can be used on any side.
|
||||
* @return The protocol side.
|
||||
*/
|
||||
ProtocolVersion.ProtocolSide protocolSide() default ProtocolVersion.ProtocolSide.ALL;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user