本文整理汇总了Java中com.google.api.server.spi.config.AnnotationBoolean.FALSE属性的典型用法代码示例。如果您正苦于以下问题:Java AnnotationBoolean.FALSE属性的具体用法?Java AnnotationBoolean.FALSE怎么用?Java AnnotationBoolean.FALSE使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类com.google.api.server.spi.config.AnnotationBoolean
的用法示例。
在下文中一共展示了AnnotationBoolean.FALSE属性的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setIsAbstractIfSpecified
public void setIsAbstractIfSpecified(AnnotationBoolean isAbstract) {
if (isAbstract == AnnotationBoolean.TRUE) {
config.setIsAbstract(true);
} else if (isAbstract == AnnotationBoolean.FALSE) {
config.setIsAbstract(false);
}
}
示例2: setIsDefaultVersionIfSpecified
public void setIsDefaultVersionIfSpecified(AnnotationBoolean defaultVersion) {
if (defaultVersion == AnnotationBoolean.TRUE) {
config.setIsDefaultVersion(true);
} else if (defaultVersion == AnnotationBoolean.FALSE) {
config.setIsDefaultVersion(false);
}
}
示例3: setIsDiscoverableIfSpecified
public void setIsDiscoverableIfSpecified(AnnotationBoolean discoverable) {
if (discoverable == AnnotationBoolean.TRUE) {
config.setIsDiscoverable(true);
} else if (discoverable == AnnotationBoolean.FALSE) {
config.setIsDiscoverable(false);
}
}
示例4: setUseDatastoreIfSpecified
public void setUseDatastoreIfSpecified(AnnotationBoolean useDatastore) {
if (useDatastore == AnnotationBoolean.TRUE) {
config.setUseDatastore(true);
} else if (useDatastore == AnnotationBoolean.FALSE) {
config.setUseDatastore(false);
}
}
示例5: setApiKeyRequiredIfSpecified
public void setApiKeyRequiredIfSpecified(AnnotationBoolean apiKeyRequired) {
if (apiKeyRequired == AnnotationBoolean.TRUE) {
config.setApiKeyRequired(true);
} else if (apiKeyRequired == AnnotationBoolean.FALSE) {
config.setApiKeyRequired(false);
}
}
示例6: setAllowCookieAuthIfSpecified
public void setAllowCookieAuthIfSpecified(AnnotationBoolean allowCookieAuth) {
if (allowCookieAuth == AnnotationBoolean.TRUE) {
config.setAllowCookieAuth(true);
} else if (allowCookieAuth == AnnotationBoolean.FALSE) {
config.setAllowCookieAuth(false);
}
}
示例7: setIgnoredIfSpecified
public void setIgnoredIfSpecified(AnnotationBoolean ignored) {
if (ignored == AnnotationBoolean.TRUE) {
config.setIgnored(true);
} else if (ignored == AnnotationBoolean.FALSE) {
config.setIgnored(false);
}
}
示例8: overrideApiKeySetting
@ApiMethod(apiKeyRequired = AnnotationBoolean.FALSE)
public void overrideApiKeySetting() { }