mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-12 22:11:07 +01:00
Enable javadoc checkstyle
and fix violations.
This commit is contained in:
parent
57260b2a44
commit
64d134052d
198 changed files with 529 additions and 501 deletions
|
|
@ -27,7 +27,7 @@ public class AMPDeliverCondition implements AMPExtension.Condition {
|
|||
public static final String NAME = "deliver";
|
||||
|
||||
/**
|
||||
* Check if server supports deliver condition
|
||||
* Check if server supports deliver condition.
|
||||
* @param connection Smack connection instance
|
||||
* @return true if deliver condition is supported.
|
||||
* @throws XMPPErrorException
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ public class AMPExpireAtCondition implements AMPExtension.Condition {
|
|||
public static final String NAME = "expire-at";
|
||||
|
||||
/**
|
||||
* Check if server supports expire-at condition
|
||||
* Check if server supports expire-at condition.
|
||||
* @param connection Smack connection instance
|
||||
* @return true if expire-at condition is supported.
|
||||
* @throws XMPPErrorException
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ public class AMPManager {
|
|||
}
|
||||
|
||||
/**
|
||||
* Check if server supports specified action
|
||||
* Check if server supports specified action.
|
||||
* @param connection active xmpp connection
|
||||
* @param action action to check
|
||||
* @return true if this action is supported.
|
||||
|
|
@ -94,7 +94,7 @@ public class AMPManager {
|
|||
}
|
||||
|
||||
/**
|
||||
* Check if server supports specified condition
|
||||
* Check if server supports specified condition.
|
||||
* @param connection active xmpp connection
|
||||
* @param conditionName name of condition to check
|
||||
* @return true if this condition is supported.
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ public class AMPMatchResourceCondition implements AMPExtension.Condition {
|
|||
public static final String NAME = "match-resource";
|
||||
|
||||
/**
|
||||
* Check if server supports match-resource condition
|
||||
* Check if server supports match-resource condition.
|
||||
* @param connection Smack connection instance
|
||||
* @return true if match-resource condition is supported.
|
||||
* @throws XMPPErrorException
|
||||
|
|
@ -63,7 +63,7 @@ public class AMPMatchResourceCondition implements AMPExtension.Condition {
|
|||
}
|
||||
|
||||
/**
|
||||
* match-resource amp condition value as defined by XEP-0079
|
||||
* match-resource amp condition value as defined by XEP-0079.
|
||||
* See http://xmpp.org/extensions/xep-0079.html#conditions-def-match
|
||||
*/
|
||||
public static enum Value {
|
||||
|
|
|
|||
|
|
@ -59,6 +59,7 @@ public class AMPExtension implements ExtensionElement {
|
|||
}
|
||||
|
||||
/**
|
||||
* Get the JID that triggered this AMP callback.
|
||||
* @return jid that triggered this amp callback.
|
||||
*/
|
||||
public String getFrom() {
|
||||
|
|
@ -66,6 +67,7 @@ public class AMPExtension implements ExtensionElement {
|
|||
}
|
||||
|
||||
/**
|
||||
* Get the receiver of this AMP receipt.
|
||||
* @return receiver of this amp receipt.
|
||||
*/
|
||||
public String getTo() {
|
||||
|
|
@ -73,7 +75,7 @@ public class AMPExtension implements ExtensionElement {
|
|||
}
|
||||
|
||||
/**
|
||||
* Status of this amp notification
|
||||
* Status of this amp notification.
|
||||
* @return Status for this amp
|
||||
*/
|
||||
public Status getStatus() {
|
||||
|
|
@ -217,7 +219,7 @@ public class AMPExtension implements ExtensionElement {
|
|||
}
|
||||
|
||||
/**
|
||||
* Interface for defining XEP-0079 Conditions and their values
|
||||
* Interface for defining XEP-0079 Conditions and their values.
|
||||
* @see AMPDeliverCondition
|
||||
* @see AMPExpireAtCondition
|
||||
* @see AMPMatchResourceCondition
|
||||
|
|
@ -230,7 +232,7 @@ public class AMPExtension implements ExtensionElement {
|
|||
}
|
||||
|
||||
/**
|
||||
* amp action attribute
|
||||
* amp action attribute.
|
||||
* See http://xmpp.org/extensions/xep-0079.html#actions-def
|
||||
**/
|
||||
public static enum Action {
|
||||
|
|
@ -267,7 +269,7 @@ public class AMPExtension implements ExtensionElement {
|
|||
}
|
||||
|
||||
/**
|
||||
* amp notification status as defined by XEP-0079
|
||||
* amp notification status as defined by XEP-0079.
|
||||
*/
|
||||
public static enum Status {
|
||||
alert,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue