001 /*
002 * Copyright (c) 2013 by Oli B.
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express orimplied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 *
016 * (c)reated 06.04.2014 by Oli B. (boehm@javatux.de)
017 */
018
019 package patterntesting.runtime.jmx;
020
021
022 /**
023 * This is the interface for the info bean anf for the use of this bean as
024 * MBean. This allows you to access the infos e.g. with the 'jconsole' during
025 * runtime.
026 *
027 * @author oliver (boehm@javatux.de)
028 * @since 1.4.1 (06.04.2014)
029 */
030 public interface InfoMBean {
031
032 /**
033 * Gets the version of PatternTesting.
034 *
035 * @return the version (e.g. "1.4.1")
036 */
037 @Description("returns the version of PatternTesting")
038 public abstract String getVersion();
039
040 /**
041 * Gets the builds the time of PatternTesting.
042 *
043 * @return the builds the time
044 */
045 @Description("returns the build time of PatternTesting")
046 public abstract String getBuildTime();
047
048 }
049