@@ -0,0 +1,2299 @@
+/*%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *      http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Apackage dmm4j.conf;%0A%0Aimport java.util.Properties;%0A%0Aimport dmm4j.http.HttpClientConfiguration;%0A%0A/**%0A * @author nikuyoshi%0A */%0Apublic interface Configuration extends java.io.Serializable %7B%0A%0A    boolean isDebugEnabled();%0A%0A    boolean isApplicationOnlyAuthEnabled();%0A%0A    String getUser();%0A%0A    String getPassword();%0A%0A    // methods for HttpClientConfiguration%0A    HttpClientConfiguration getHttpClientConfiguration();%0A%0A    int getHttpStreamingReadTimeout();%0A%0A    // oauth related setter/getters%0A%0A    String getOAuthConsumerKey();%0A%0A    String getOAuthConsumerSecret();%0A%0A    String getOAuthAccessToken();%0A%0A    String getOAuthAccessTokenSecret();%0A%0A    String getOAuth2TokenType();%0A%0A    String getOAuth2AccessToken();%0A%0A    String getOAuth2Scope();%0A%0A    String getRestBaseURL();%0A%0A    String getUploadBaseURL();%0A%0A    String getStreamBaseURL();%0A%0A    String getOAuthRequestTokenURL();%0A%0A    String getOAuthAuthorizationURL();%0A%0A    String getOAuthAccessTokenURL();%0A%0A    String getOAuthAuthenticationURL();%0A%0A    String getOAuth2TokenURL();%0A%0A    String getOAuth2InvalidateTokenURL();%0A%0A    String getUserStreamBaseURL();%0A%0A    String getSiteStreamBaseURL();%0A%0A    boolean isIncludeMyRetweetEnabled();%0A%0A    boolean isJSONStoreEnabled();%0A%0A    boolean isMBeanEnabled();%0A%0A    boolean isUserStreamRepliesAllEnabled();%0A%0A    boolean isUserStreamWithFollowingsEnabled();%0A%0A    boolean isStallWarningsEnabled();%0A%0A    String getMediaProvider();%0A%0A    String getMediaProviderAPIKey();%0A%0A    Properties getMediaProviderParameters();%0A%0A    int getAsyncNumThreads();%0A%0A    long getContributingTo();%0A%0A    String getDispatcherImpl();%0A%0A    String getLoggerFactory();%0A%0A    boolean isIncludeEntitiesEnabled();%0A%0A    boolean isTrimUserEnabled();%0A%0A    boolean isDaemonEnabled();%0A%7D%0A

Add Configuration