org.eclipse.mylyn.builds.core_0.9.1.v20120425-0100

16:46:19.685 INFO  jd.cli.Main - Decompiling org.eclipse.mylyn.builds.core_0.9.1.v20120425-0100.jar
package org.eclipse.mylyn.builds.core.spi;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class BuildPlanRequest
{
  private final List<String> planIds;
  
  public BuildPlanRequest(List<String> planIds)
  {
    this.planIds = Collections.unmodifiableList(new ArrayList(planIds));
  }
  
  public List<String> getPlanIds()
  {
    return planIds;
  }
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.spi.BuildPlanRequest
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core.spi;

import org.eclipse.core.runtime.Assert;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.mylyn.builds.core.IBuildElement;
import org.eclipse.mylyn.builds.core.IBuildServer;
import org.eclipse.mylyn.commons.repositories.core.RepositoryLocation;

public abstract class BuildConnector
{
  private String connectorKind;
  private String label;
  
  public abstract BuildServerBehaviour getBehaviour(RepositoryLocation paramRepositoryLocation)
    throws CoreException;
  
  public IBuildElement getBuildElementFromUrl(IBuildServer server, String url)
  {
    return null;
  }
  
  public final String getConnectorKind()
  {
    return connectorKind;
  }
  
  public final String getLabel()
  {
    return label;
  }
  
  public final void init(String connectorKind, String label)
  {
    Assert.isNotNull(connectorKind);
    Assert.isNotNull(label);
    if (this.connectorKind != null) {
      throw new IllegalStateException("Already initialized");
    }
    this.connectorKind = connectorKind;
    this.label = label;
  }
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.spi.BuildConnector
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core.spi;

public enum GetBuildsRequest$Scope
{
  FULL,  HISTORY;
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.spi.GetBuildsRequest.Scope
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core.spi;

import java.util.Map;
import org.eclipse.core.runtime.Assert;
import org.eclipse.mylyn.builds.core.IBuildPlan;

public class RunBuildRequest
{
  private long delay;
  private Map<String, String> parameters;
  private final IBuildPlan plan;
  
  public RunBuildRequest(IBuildPlan plan)
  {
    Assert.isNotNull(plan);
    this.plan = plan;
  }
  
  public long getDelay()
  {
    return delay;
  }
  
  public Map<String, String> getParameters()
  {
    return parameters;
  }
  
  public IBuildPlan getPlan()
  {
    return plan;
  }
  
  public void setDelay(long delay)
  {
    this.delay = delay;
  }
  
  public void setParameters(Map<String, String> parameters)
  {
    this.parameters = parameters;
  }
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.spi.RunBuildRequest
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core.spi;

public enum GetBuildsRequest$Kind
{
  ALL,  LAST,  SELECTED;
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.spi.GetBuildsRequest.Kind
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core.spi;

import java.io.Reader;
import java.util.List;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.mylyn.builds.core.IArtifact;
import org.eclipse.mylyn.builds.core.IBuild;
import org.eclipse.mylyn.builds.core.IBuildCause;
import org.eclipse.mylyn.builds.core.IBuildPlan;
import org.eclipse.mylyn.builds.core.IBuildReference;
import org.eclipse.mylyn.builds.core.IChange;
import org.eclipse.mylyn.builds.core.IChangeArtifact;
import org.eclipse.mylyn.builds.core.IChangeSet;
import org.eclipse.mylyn.builds.core.IHealthReport;
import org.eclipse.mylyn.builds.core.ITestCase;
import org.eclipse.mylyn.builds.core.ITestResult;
import org.eclipse.mylyn.builds.core.ITestSuite;
import org.eclipse.mylyn.builds.core.IUser;
import org.eclipse.mylyn.builds.internal.core.BuildFactory;
import org.eclipse.mylyn.commons.core.operations.IOperationMonitor;

public abstract class BuildServerBehaviour
{
  protected IArtifact createArtifact()
  {
    return BuildFactory.eINSTANCE.createArtifact();
  }
  
  protected IBuild createBuild()
  {
    return BuildFactory.eINSTANCE.createBuild();
  }
  
  protected IBuildCause createBuildCause()
  {
    return BuildFactory.eINSTANCE.createBuildCause();
  }
  
  protected IBuildPlan createBuildPlan()
  {
    return BuildFactory.eINSTANCE.createBuildPlan();
  }
  
  protected IBuildReference createBuildReference()
  {
    return BuildFactory.eINSTANCE.createBuildReference();
  }
  
  protected IChange createChange()
  {
    return BuildFactory.eINSTANCE.createChange();
  }
  
  protected IChangeArtifact createChangeArtifact()
  {
    return BuildFactory.eINSTANCE.createChangeArtifact();
  }
  
  protected IChangeSet createChangeSet()
  {
    return BuildFactory.eINSTANCE.createChangeSet();
  }
  
  protected IHealthReport createHealthReport()
  {
    return BuildFactory.eINSTANCE.createHealthReport();
  }
  
  protected ITestCase createTestCase()
  {
    return BuildFactory.eINSTANCE.createTestCase();
  }
  
  protected ITestResult createTestResult()
  {
    return BuildFactory.eINSTANCE.createTestResult();
  }
  
  protected ITestSuite createTestSuite()
  {
    return BuildFactory.eINSTANCE.createTestSuite();
  }
  
  protected IUser createUser()
  {
    return BuildFactory.eINSTANCE.createUser();
  }
  
  public abstract List<IBuild> getBuilds(GetBuildsRequest paramGetBuildsRequest, IOperationMonitor paramIOperationMonitor)
    throws CoreException;
  
  public abstract BuildServerConfiguration getConfiguration();
  
  public abstract Reader getConsole(IBuild paramIBuild, IOperationMonitor paramIOperationMonitor)
    throws CoreException;
  
  public abstract List<IBuildPlan> getPlans(BuildPlanRequest paramBuildPlanRequest, IOperationMonitor paramIOperationMonitor)
    throws CoreException;
  
  public abstract BuildServerConfiguration refreshConfiguration(IOperationMonitor paramIOperationMonitor)
    throws CoreException;
  
  public abstract void runBuild(RunBuildRequest paramRunBuildRequest, IOperationMonitor paramIOperationMonitor)
    throws CoreException;
  
  public abstract IStatus validate(IOperationMonitor paramIOperationMonitor)
    throws CoreException;
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.spi.BuildServerBehaviour
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core.spi;

import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
import org.eclipse.core.runtime.Assert;
import org.eclipse.mylyn.builds.core.IBuildPlan;

public class GetBuildsRequest
{
  private Set<String> ids;
  private final Kind kind;
  private final IBuildPlan plan;
  private final Scope scope;
  
  public static enum Kind
  {
    ALL,  LAST,  SELECTED;
  }
  
  public static enum Scope
  {
    FULL,  HISTORY;
  }
  
  public GetBuildsRequest(IBuildPlan plan, Collection<String> ids, Scope scope)
  {
    this(plan, Kind.SELECTED, Scope.FULL);
    Assert.isNotNull(ids);
    this.ids = Collections.unmodifiableSet(new HashSet(ids));
  }
  
  public GetBuildsRequest(IBuildPlan plan, Kind kind)
  {
    this(plan, kind, Scope.FULL);
  }
  
  public GetBuildsRequest(IBuildPlan plan, Kind kind, Scope scope)
  {
    Assert.isNotNull(kind);
    Assert.isNotNull(plan);
    Assert.isNotNull(scope);
    this.kind = kind;
    this.plan = plan;
    this.scope = scope;
  }
  
  public Set<String> getIds()
  {
    return ids;
  }
  
  public Kind getKind()
  {
    return kind;
  }
  
  public IBuildPlan getPlan()
  {
    return plan;
  }
  
  public Scope getScope()
  {
    return scope;
  }
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.spi.GetBuildsRequest
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core.spi;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.eclipse.mylyn.builds.core.IBuildPlan;
import org.eclipse.mylyn.builds.core.IBuildServerConfiguration;

public class BuildServerConfiguration
  implements IBuildServerConfiguration
{
  private final List<IBuildPlan> plans;
  
  public BuildServerConfiguration(List<IBuildPlan> plans)
  {
    this.plans = Collections.unmodifiableList(new ArrayList(plans));
  }
  
  public List<IBuildPlan> getPlans()
  {
    return plans;
  }
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.spi.BuildServerConfiguration
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core.spi;

import java.io.File;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

public abstract class AbstractConfigurationCache<C extends Serializable>
{
  private final File cacheFile;
  private Map<String, C> configurationByUrl;
  
  public AbstractConfigurationCache(File cacheFile)
  {
    this.cacheFile = cacheFile;
  }
  
  public AbstractConfigurationCache()
  {
    this(null);
  }
  
  protected abstract C createConfiguration();
  
  public void flush()
  {
    if ((cacheFile == null) || (configurationByUrl == null)) {}
  }
  
  public C getConfiguration(String url)
  {
    initialize();
    C configuration = (Serializable)configurationByUrl.get(url);
    if (configuration == null)
    {
      configuration = createConfiguration();
      configurationByUrl.put(url, configuration);
    }
    return configuration;
  }
  
  protected void initialize()
  {
    if (configurationByUrl == null)
    {
      configurationByUrl = new HashMap();
      readCache();
    }
  }
  
  /* Error */
  protected void readCache()
  {
    // Byte code:
    //   0: aload_0
    //   1: getfield 139	org/eclipse/mylyn/builds/core/spi/AbstractConfigurationCache:cacheFile	Ljava/io/File;
    //   4: ifnull +13 -> 17
    //   7: aload_0
    //   8: getfield 139	org/eclipse/mylyn/builds/core/spi/AbstractConfigurationCache:cacheFile	Ljava/io/File;
    //   11: invokevirtual 141	java/io/File:exists	()Z
    //   14: ifne +4 -> 18
    //   17: return
    //   18: aconst_null
    //   19: astore_1
    //   20: new 69	java/io/ObjectInputStream
    //   23: dup
    //   24: new 66	java/io/FileInputStream
    //   27: dup
    //   28: aload_0
    //   29: getfield 139	org/eclipse/mylyn/builds/core/spi/AbstractConfigurationCache:cacheFile	Ljava/io/File;
    //   32: invokespecial 142	java/io/FileInputStream:<init>	(Ljava/io/File;)V
    //   35: invokespecial 146	java/io/ObjectInputStream:<init>	(Ljava/io/InputStream;)V
    //   38: astore_1
    //   39: aload_1
    //   40: invokevirtual 144	java/io/ObjectInputStream:readInt	()I
    //   43: istore_2
    //   44: iconst_0
    //   45: istore_3
    //   46: goto +46 -> 92
    //   49: aload_1
    //   50: invokevirtual 147	java/io/ObjectInputStream:readObject	()Ljava/lang/Object;
    //   53: checkcast 74	java/lang/String
    //   56: astore 4
    //   58: aload_0
    //   59: aload_1
    //   60: invokevirtual 160	org/eclipse/mylyn/builds/core/spi/AbstractConfigurationCache:readConfiguration	(Ljava/io/ObjectInputStream;)Ljava/io/Serializable;
    //   63: astore 5
    //   65: aload 4
    //   67: ifnull +22 -> 89
    //   70: aload 5
    //   72: ifnull +17 -> 89
    //   75: aload_0
    //   76: getfield 140	org/eclipse/mylyn/builds/core/spi/AbstractConfigurationCache:configurationByUrl	Ljava/util/Map;
    //   79: aload 4
    //   81: aload 5
    //   83: invokeinterface 167 3 0
    //   88: pop
    //   89: iinc 3 1
    //   92: iload_3
    //   93: iload_2
    //   94: if_icmplt -45 -> 49
    //   97: goto +52 -> 149
    //   100: astore_2
    //   101: new 80	org/eclipse/core/runtime/Status
    //   104: dup
    //   105: iconst_2
    //   106: ldc 3
    //   108: ldc 1
    //   110: aload_2
    //   111: invokespecial 154	org/eclipse/core/runtime/Status:<init>	(ILjava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
    //   114: invokestatic 161	org/eclipse/mylyn/commons/core/StatusHandler:log	(Lorg/eclipse/core/runtime/IStatus;)V
    //   117: aload_1
    //   118: ifnull +43 -> 161
    //   121: aload_1
    //   122: invokevirtual 145	java/io/ObjectInputStream:close	()V
    //   125: goto +36 -> 161
    //   128: pop
    //   129: goto +32 -> 161
    //   132: astore 6
    //   134: aload_1
    //   135: ifnull +11 -> 146
    //   138: aload_1
    //   139: invokevirtual 145	java/io/ObjectInputStream:close	()V
    //   142: goto +4 -> 146
    //   145: pop
    //   146: aload 6
    //   148: athrow
    //   149: aload_1
    //   150: ifnull +11 -> 161
    //   153: aload_1
    //   154: invokevirtual 145	java/io/ObjectInputStream:close	()V
    //   157: goto +4 -> 161
    //   160: pop
    //   161: return
    // Line number table:
    //   Java source line #77	-> byte code offset #0
    //   Java source line #78	-> byte code offset #17
    //   Java source line #81	-> byte code offset #18
    //   Java source line #83	-> byte code offset #20
    //   Java source line #84	-> byte code offset #39
    //   Java source line #85	-> byte code offset #44
    //   Java source line #86	-> byte code offset #49
    //   Java source line #87	-> byte code offset #58
    //   Java source line #88	-> byte code offset #65
    //   Java source line #89	-> byte code offset #75
    //   Java source line #85	-> byte code offset #89
    //   Java source line #92	-> byte code offset #100
    //   Java source line #93	-> byte code offset #101
    //   Java source line #94	-> byte code offset #108
    //   Java source line #93	-> byte code offset #111
    //   Java source line #96	-> byte code offset #117
    //   Java source line #98	-> byte code offset #121
    //   Java source line #99	-> byte code offset #128
    //   Java source line #95	-> byte code offset #132
    //   Java source line #96	-> byte code offset #134
    //   Java source line #98	-> byte code offset #138
    //   Java source line #99	-> byte code offset #145
    //   Java source line #103	-> byte code offset #146
    //   Java source line #96	-> byte code offset #149
    //   Java source line #98	-> byte code offset #153
    //   Java source line #99	-> byte code offset #160
    //   Java source line #105	-> byte code offset #161
    // Local variable table:
    //   start	length	slot	name	signature
    //   0	162	0	this	AbstractConfigurationCache<C>
    //   19	135	1	in	ObjectInputStream
    //   43	51	2	size	int
    //   100	11	2	e	Throwable
    //   45	48	3	i	int
    //   56	24	4	url	String
    //   63	19	5	data	C
    //   132	15	6	localObject	Object
    //   128	1	8	localIOException1	IOException
    //   145	1	9	localIOException2	IOException
    //   160	1	10	localIOException3	IOException
    // Exception table:
    //   from	to	target	type
    //   20	97	100	java/lang/Throwable
    //   121	125	128	java/io/IOException
    //   20	117	132	finally
    //   138	142	145	java/io/IOException
    //   153	157	160	java/io/IOException
  }
  
  protected abstract C readConfiguration(ObjectInputStream paramObjectInputStream)
    throws IOException, ClassNotFoundException;
  
  public void setConfiguration(String url, C configuration)
  {
    initialize();
    configurationByUrl.put(url, configuration);
    writeCache();
  }
  
  /* Error */
  protected void writeCache()
  {
    // Byte code:
    //   0: aload_0
    //   1: getfield 139	org/eclipse/mylyn/builds/core/spi/AbstractConfigurationCache:cacheFile	Ljava/io/File;
    //   4: ifnonnull +4 -> 8
    //   7: return
    //   8: aconst_null
    //   9: astore_1
    //   10: new 70	java/io/ObjectOutputStream
    //   13: dup
    //   14: new 67	java/io/FileOutputStream
    //   17: dup
    //   18: aload_0
    //   19: getfield 139	org/eclipse/mylyn/builds/core/spi/AbstractConfigurationCache:cacheFile	Ljava/io/File;
    //   22: invokespecial 143	java/io/FileOutputStream:<init>	(Ljava/io/File;)V
    //   25: invokespecial 150	java/io/ObjectOutputStream:<init>	(Ljava/io/OutputStream;)V
    //   28: astore_1
    //   29: aload_1
    //   30: aload_0
    //   31: getfield 140	org/eclipse/mylyn/builds/core/spi/AbstractConfigurationCache:configurationByUrl	Ljava/util/Map;
    //   34: invokeinterface 164 1 0
    //   39: invokevirtual 149	java/io/ObjectOutputStream:writeInt	(I)V
    //   42: aload_0
    //   43: getfield 140	org/eclipse/mylyn/builds/core/spi/AbstractConfigurationCache:configurationByUrl	Ljava/util/Map;
    //   46: invokeinterface 165 1 0
    //   51: invokeinterface 168 1 0
    //   56: astore_3
    //   57: goto +32 -> 89
    //   60: aload_3
    //   61: invokeinterface 163 1 0
    //   66: checkcast 74	java/lang/String
    //   69: astore_2
    //   70: aload_1
    //   71: aload_2
    //   72: invokevirtual 151	java/io/ObjectOutputStream:writeObject	(Ljava/lang/Object;)V
    //   75: aload_1
    //   76: aload_0
    //   77: getfield 140	org/eclipse/mylyn/builds/core/spi/AbstractConfigurationCache:configurationByUrl	Ljava/util/Map;
    //   80: aload_2
    //   81: invokeinterface 166 2 0
    //   86: invokevirtual 151	java/io/ObjectOutputStream:writeObject	(Ljava/lang/Object;)V
    //   89: aload_3
    //   90: invokeinterface 162 1 0
    //   95: ifne -35 -> 60
    //   98: goto +52 -> 150
    //   101: astore_2
    //   102: new 80	org/eclipse/core/runtime/Status
    //   105: dup
    //   106: iconst_2
    //   107: ldc 3
    //   109: ldc 2
    //   111: aload_2
    //   112: invokespecial 154	org/eclipse/core/runtime/Status:<init>	(ILjava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
    //   115: invokestatic 161	org/eclipse/mylyn/commons/core/StatusHandler:log	(Lorg/eclipse/core/runtime/IStatus;)V
    //   118: aload_1
    //   119: ifnull +43 -> 162
    //   122: aload_1
    //   123: invokevirtual 148	java/io/ObjectOutputStream:close	()V
    //   126: goto +36 -> 162
    //   129: pop
    //   130: goto +32 -> 162
    //   133: astore 4
    //   135: aload_1
    //   136: ifnull +11 -> 147
    //   139: aload_1
    //   140: invokevirtual 148	java/io/ObjectOutputStream:close	()V
    //   143: goto +4 -> 147
    //   146: pop
    //   147: aload 4
    //   149: athrow
    //   150: aload_1
    //   151: ifnull +11 -> 162
    //   154: aload_1
    //   155: invokevirtual 148	java/io/ObjectOutputStream:close	()V
    //   158: goto +4 -> 162
    //   161: pop
    //   162: return
    // Line number table:
    //   Java source line #116	-> byte code offset #0
    //   Java source line #117	-> byte code offset #7
    //   Java source line #120	-> byte code offset #8
    //   Java source line #122	-> byte code offset #10
    //   Java source line #123	-> byte code offset #29
    //   Java source line #124	-> byte code offset #42
    //   Java source line #125	-> byte code offset #70
    //   Java source line #126	-> byte code offset #75
    //   Java source line #124	-> byte code offset #89
    //   Java source line #128	-> byte code offset #101
    //   Java source line #129	-> byte code offset #102
    //   Java source line #130	-> byte code offset #109
    //   Java source line #129	-> byte code offset #112
    //   Java source line #132	-> byte code offset #118
    //   Java source line #134	-> byte code offset #122
    //   Java source line #135	-> byte code offset #129
    //   Java source line #131	-> byte code offset #133
    //   Java source line #132	-> byte code offset #135
    //   Java source line #134	-> byte code offset #139
    //   Java source line #135	-> byte code offset #146
    //   Java source line #139	-> byte code offset #147
    //   Java source line #132	-> byte code offset #150
    //   Java source line #134	-> byte code offset #154
    //   Java source line #135	-> byte code offset #161
    //   Java source line #140	-> byte code offset #162
    // Local variable table:
    //   start	length	slot	name	signature
    //   0	163	0	this	AbstractConfigurationCache<C>
    //   9	146	1	out	java.io.ObjectOutputStream
    //   69	12	2	url	String
    //   101	11	2	e	IOException
    //   56	34	3	localIterator	java.util.Iterator
    //   133	15	4	localObject	Object
    //   129	1	6	localIOException1	IOException
    //   146	1	7	localIOException2	IOException
    //   161	1	8	localIOException3	IOException
    // Exception table:
    //   from	to	target	type
    //   10	98	101	java/io/IOException
    //   122	126	129	java/io/IOException
    //   10	118	133	finally
    //   139	143	146	java/io/IOException
    //   154	158	161	java/io/IOException
  }
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.spi.AbstractConfigurationCache
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core;

import java.util.Date;
import java.util.List;
import java.util.Map;
import org.eclipse.core.runtime.IStatus;

public abstract interface IBuildElement
{
  public abstract String getUrl();
  
  public abstract void setUrl(String paramString);
  
  public abstract String getName();
  
  public abstract void setName(String paramString);
  
  public abstract List<IOperation> getOperations();
  
  public abstract IStatus getElementStatus();
  
  public abstract void setElementStatus(IStatus paramIStatus);
  
  public abstract Date getRefreshDate();
  
  public abstract void setRefreshDate(Date paramDate);
  
  public abstract Map<String, String> getAttributes();
  
  public abstract String getLabel();
  
  public abstract IBuildServer getServer();
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.IBuildElement
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core;

public abstract interface IUser
  extends IBuildElement
{
  public abstract String getId();
  
  public abstract void setId(String paramString);
  
  public abstract String getEmail();
  
  public abstract void setEmail(String paramString);
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.IUser
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core;

public abstract interface IBuildCause
{
  public abstract String getDescription();
  
  public abstract void setDescription(String paramString);
  
  public abstract IBuildReference getBuild();
  
  public abstract void setBuild(IBuildReference paramIBuildReference);
  
  public abstract IUser getUser();
  
  public abstract void setUser(IUser paramIUser);
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.IBuildCause
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core;

public enum BuildStatus
{
  FAILED,  UNSTABLE,  SUCCESS,  DISABLED,  ABORTED;
  
  public String getLabel()
  {
    switch (this)
    {
    case ABORTED: 
      return "Failed";
    case DISABLED: 
      return "Unstable";
    case FAILED: 
      return "Success";
    case SUCCESS: 
      return "Disabled";
    case UNSTABLE: 
      return "Aborted";
    }
    return "Unknown";
  }
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.BuildStatus
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core;

public abstract interface ITestElement
{
  public abstract String getLabel();
  
  public abstract void setLabel(String paramString);
  
  public abstract long getDuration();
  
  public abstract void setDuration(long paramLong);
  
  public abstract String getErrorOutput();
  
  public abstract void setErrorOutput(String paramString);
  
  public abstract String getOutput();
  
  public abstract void setOutput(String paramString);
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.ITestElement
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core;

public abstract interface IStringParameterDefinition
  extends IParameterDefinition
{
  public abstract String getDefaultValue();
  
  public abstract void setDefaultValue(String paramString);
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.IStringParameterDefinition
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core;

public abstract interface IBooleanParameterDefinition
  extends IParameterDefinition
{
  public abstract boolean isDefaultValue();
  
  public abstract void setDefaultValue(boolean paramBoolean);
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.IBooleanParameterDefinition
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core;

public abstract interface IBuildReference
{
  public abstract String getPlan();
  
  public abstract void setPlan(String paramString);
  
  public abstract String getBuild();
  
  public abstract void setBuild(String paramString);
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.IBuildReference
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core;

public abstract interface IChangeArtifact
{
  public abstract String getFile();
  
  public abstract void setFile(String paramString);
  
  public abstract String getRelativePath();
  
  public abstract void setRelativePath(String paramString);
  
  public abstract String getPrevRevision();
  
  public abstract void setPrevRevision(String paramString);
  
  public abstract String getRevision();
  
  public abstract void setRevision(String paramString);
  
  public abstract boolean isDead();
  
  public abstract void setDead(boolean paramBoolean);
  
  public abstract EditType getEditType();
  
  public abstract void setEditType(EditType paramEditType);
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.IChangeArtifact
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core;

import java.util.List;

public abstract interface IChange
{
  public abstract List<IChangeArtifact> getArtifacts();
  
  public abstract IUser getAuthor();
  
  public abstract void setAuthor(IUser paramIUser);
  
  public abstract String getMessage();
  
  public abstract void setMessage(String paramString);
  
  public abstract long getDate();
  
  public abstract void setDate(long paramLong);
  
  public abstract String getRevision();
  
  public abstract void setRevision(String paramString);
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.IChange
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core;

public abstract interface IPasswordParameterDefinition
  extends IParameterDefinition
{
  public abstract String getDefaultValue();
  
  public abstract void setDefaultValue(String paramString);
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.IPasswordParameterDefinition
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core;

public abstract interface IBuildParameterDefinition
  extends IParameterDefinition
{
  public abstract String getBuildPlanId();
  
  public abstract void setBuildPlanId(String paramString);
  
  public abstract IBuildPlan getBuildPlan();
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.IBuildParameterDefinition
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core;

public enum BuildState
{
  QUEUED,  RUNNING,  STOPPED,  BUILDABLE;
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.BuildState
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core;

import org.eclipse.mylyn.builds.internal.core.BuildFactory;

public abstract interface IBuildFactory
{
  public static final IBuildFactory INSTANCE = BuildFactory.eINSTANCE;
  
  public abstract IArtifact createArtifact();
  
  public abstract IBuild createBuild();
  
  public abstract IBuildCause createBuildCause();
  
  public abstract IBuildReference createBuildReference();
  
  public abstract IBuildPlan createBuildPlan();
  
  public abstract IHealthReport createHealthReport();
  
  public abstract IBuildServer createBuildServer();
  
  public abstract IBuildModel createBuildModel();
  
  public abstract IChange createChange();
  
  public abstract IChangeSet createChangeSet();
  
  public abstract IChangeArtifact createChangeArtifact();
  
  public abstract IUser createUser();
  
  public abstract IChoiceParameterDefinition createChoiceParameterDefinition();
  
  public abstract IBooleanParameterDefinition createBooleanParameterDefinition();
  
  public abstract IFileParameterDefinition createFileParameterDefinition();
  
  public abstract IPlanParameterDefinition createPlanParameterDefinition();
  
  public abstract IPasswordParameterDefinition createPasswordParameterDefinition();
  
  public abstract IBuildParameterDefinition createBuildParameterDefinition();
  
  public abstract IStringParameterDefinition createStringParameterDefinition();
  
  public abstract ITestResult createTestResult();
  
  public abstract ITestElement createTestElement();
  
  public abstract ITestSuite createTestSuite();
  
  public abstract ITestCase createTestCase();
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.IBuildFactory
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core;

public abstract interface IHealthReport
{
  public abstract int getHealth();
  
  public abstract void setHealth(int paramInt);
  
  public abstract String getDescription();
  
  public abstract void setDescription(String paramString);
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.IHealthReport
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core;

public abstract interface IFileParameterDefinition
  extends IParameterDefinition
{}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.IFileParameterDefinition
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core;

import java.util.List;

public abstract interface IBuildPlan
  extends IBuildElement
{
  public abstract IBuildServer getServer();
  
  public abstract void setServer(IBuildServer paramIBuildServer);
  
  public abstract List<IBuildPlan> getChildren();
  
  public abstract IBuildPlan getParent();
  
  public abstract void setParent(IBuildPlan paramIBuildPlan);
  
  public abstract int getHealth();
  
  public abstract void setHealth(int paramInt);
  
  public abstract String getId();
  
  public abstract void setId(String paramString);
  
  public abstract String getInfo();
  
  public abstract void setInfo(String paramString);
  
  public abstract boolean isSelected();
  
  public abstract void setSelected(boolean paramBoolean);
  
  public abstract String getSummary();
  
  public abstract void setSummary(String paramString);
  
  public abstract BuildState getState();
  
  public abstract void setState(BuildState paramBuildState);
  
  public abstract BuildStatus getStatus();
  
  public abstract void setStatus(BuildStatus paramBuildStatus);
  
  public abstract String getDescription();
  
  public abstract void setDescription(String paramString);
  
  public abstract IBuild getLastBuild();
  
  public abstract void setLastBuild(IBuild paramIBuild);
  
  public abstract List<IParameterDefinition> getParameterDefinitions();
  
  public abstract List<IHealthReport> getHealthReports();
  
  public abstract List<BuildState> getFlags();
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.IBuildPlan
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core;

public abstract interface IOperation {}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.IOperation
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core;

import java.util.List;

public abstract interface IBuild
  extends IBuildElement
{
  public abstract String getId();
  
  public abstract void setId(String paramString);
  
  public abstract int getBuildNumber();
  
  public abstract void setBuildNumber(int paramInt);
  
  public abstract long getTimestamp();
  
  public abstract void setTimestamp(long paramLong);
  
  public abstract long getDuration();
  
  public abstract void setDuration(long paramLong);
  
  public abstract String getDisplayName();
  
  public abstract void setDisplayName(String paramString);
  
  public abstract BuildState getState();
  
  public abstract void setState(BuildState paramBuildState);
  
  public abstract BuildStatus getStatus();
  
  public abstract void setStatus(BuildStatus paramBuildStatus);
  
  public abstract List<IArtifact> getArtifacts();
  
  public abstract IChangeSet getChangeSet();
  
  public abstract void setChangeSet(IChangeSet paramIChangeSet);
  
  public abstract IBuildPlan getPlan();
  
  public abstract void setPlan(IBuildPlan paramIBuildPlan);
  
  public abstract String getLabel();
  
  public abstract void setLabel(String paramString);
  
  public abstract IBuildServer getServer();
  
  public abstract void setServer(IBuildServer paramIBuildServer);
  
  public abstract ITestResult getTestResult();
  
  public abstract void setTestResult(ITestResult paramITestResult);
  
  public abstract List<IUser> getCulprits();
  
  public abstract String getSummary();
  
  public abstract void setSummary(String paramString);
  
  public abstract List<IBuildCause> getCause();
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.IBuild
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core;

import java.util.List;

public abstract interface ITestSuite
  extends ITestElement
{
  public abstract List<ITestCase> getCases();
  
  public abstract ITestResult getResult();
  
  public abstract void setResult(ITestResult paramITestResult);
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.ITestSuite
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core;

public abstract interface IArtifact
  extends IBuildElement
{
  public abstract String getRelativePath();
  
  public abstract void setRelativePath(String paramString);
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.IArtifact
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core;

public enum EditType
{
  ADD,  DELETE,  EDIT;
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.EditType
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core;

import org.eclipse.core.runtime.CoreException;
import org.eclipse.mylyn.commons.repositories.core.RepositoryLocation;

public abstract interface IBuildServer
  extends IBuildElement
{
  public abstract RepositoryLocation getLocation();
  
  public abstract void setLocation(RepositoryLocation paramRepositoryLocation);
  
  public abstract String getConnectorKind();
  
  public abstract void setConnectorKind(String paramString);
  
  public abstract String getRepositoryUrl();
  
  public abstract void setRepositoryUrl(String paramString);
  
  public abstract IBuildServerConfiguration getConfiguration()
    throws CoreException;
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.IBuildServer
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core;

import java.util.List;

public abstract interface ITestResult
{
  public abstract IBuild getBuild();
  
  public abstract void setBuild(IBuild paramIBuild);
  
  public abstract long getDuration();
  
  public abstract void setDuration(long paramLong);
  
  public abstract int getFailCount();
  
  public abstract void setFailCount(int paramInt);
  
  public abstract int getPassCount();
  
  public abstract void setPassCount(int paramInt);
  
  public abstract int getIgnoredCount();
  
  public abstract void setIgnoredCount(int paramInt);
  
  public abstract int getErrorCount();
  
  public abstract void setErrorCount(int paramInt);
  
  public abstract List<ITestSuite> getSuites();
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.ITestResult
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core;

public abstract interface IPlanParameterDefinition
  extends IParameterDefinition
{}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.IPlanParameterDefinition
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core;

public abstract interface ITestCase
  extends ITestElement
{
  public abstract String getClassName();
  
  public abstract void setClassName(String paramString);
  
  public abstract boolean isSkipped();
  
  public abstract void setSkipped(boolean paramBoolean);
  
  public abstract ITestSuite getSuite();
  
  public abstract void setSuite(ITestSuite paramITestSuite);
  
  public abstract TestCaseResult getStatus();
  
  public abstract void setStatus(TestCaseResult paramTestCaseResult);
  
  public abstract String getMessage();
  
  public abstract void setMessage(String paramString);
  
  public abstract String getStackTrace();
  
  public abstract void setStackTrace(String paramString);
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.builds.core.ITestCase
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.builds.core;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

public enum TestCaseResult
  implements InternalTestCaseResult
{
  PASSED(
  
    1, "PASSED", "PASSED"),  SKIPPED(2, "SKIPPED", "SKIPPED"),  FAILED(3, "FAILED", "FAILED"),  FIXED(4, "FIXED", "FIXED"),  REGRESSION(5, "REGRESSION", "REGRESSION");
  
  public static final int PASSED_VALUE = 1;
  public static final int SKIPPED_VALUE = 2;
  public static final int FAILED_VALUE = 3;
  public static final int FIXED_VALUE = 4;
  public static final int REGRESSION_VALUE = 5;
  private static final TestCaseResult[] VALUES_ARRAY = { PASSED, SKIPPED, FAILED, FIXED, 
    REGRESSION };
  public static final List<TestCaseResult> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
  private final int value;
  private final String name;
  private final String literal;
  
  public static TestCaseResult get(String literal)
  {
    for (int i = 0; i < VALUES_ARRAY.length; i++)
    {
      TestCaseResult result = VALUES_ARRAY[i];
      if (result.toString().equals(literal)) {
        return result;
      }
    }
    return null;
  }
  
  public static TestCaseResult getByName(String name)
  {
    for (int i = 0; i < VALUES_ARRAY.length; i++)
    {
      TestCaseResult result = VALUES_ARRAY[i];
      if (result.getName().equals(name)) {
        return result;
      }
    }
    return null;
  }
  
  public static TestCaseResult get(int value)
  {
    switch (value)
    {
    case 1: 
      return PASSED;
    case 2: 
      return SKIPPED;
    case 3: 
      return FAILED;
    case 4: 
      return FIXED;
    case 5: 
      return REGRESSION;
    }
    return null;
  }
  
  private TestCaseResult(int value, String name, String literal)
  {
    this.value = value;
    this.name = name;
    this.literal = literal;
  }
  
  public int getValue()
  {
    return value;
  }
  
  public String getName()
  {
    return name;
  }
  
  public String getLiteral()
  {
    return literal;
 
1 2 3 4 5 6 7 8 9 10

Further reading...

For more information on Java 1.5 Tiger, you may find Java 1.5 Tiger, A developer's Notebook by D. Flanagan and B. McLaughlin from O'Reilly of interest.

New!JAR listings


Copyright 2006-2017. Infinite Loop Ltd