mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
new jira connector
This commit is contained in:
committed by
Dmitry Avdeev
parent
48465fd021
commit
0471d79bcc
Generated
+1
-1
@@ -117,9 +117,9 @@
|
||||
<module fileurl="file://$PROJECT_DIR$/platform/projectModel-api/projectModel-api.iml" filepath="$PROJECT_DIR$/platform/projectModel-api/projectModel-api.iml" group="platform" />
|
||||
<module fileurl="file://$PROJECT_DIR$/platform/projectModel-impl/projectModel-impl.iml" filepath="$PROJECT_DIR$/platform/projectModel-impl/projectModel-impl.iml" group="platform" />
|
||||
<module fileurl="file://$PROJECT_DIR$/plugins/properties/properties.iml" filepath="$PROJECT_DIR$/plugins/properties/properties.iml" group="plugins" />
|
||||
<module fileurl="file://$PROJECT_DIR$/xml/relaxng/relaxng.iml" filepath="$PROJECT_DIR$/xml/relaxng/relaxng.iml" group="plugins" />
|
||||
<module fileurl="file://$PROJECT_DIR$/platform/remote-servers/api/remote-servers-api.iml" filepath="$PROJECT_DIR$/platform/remote-servers/api/remote-servers-api.iml" group="platform" />
|
||||
<module fileurl="file://$PROJECT_DIR$/platform/remote-servers/impl/remote-servers-impl.iml" filepath="$PROJECT_DIR$/platform/remote-servers/impl/remote-servers-impl.iml" group="platform" />
|
||||
<module fileurl="file://$PROJECT_DIR$/xml/relaxng/relaxng.iml" filepath="$PROJECT_DIR$/xml/relaxng/relaxng.iml" group="plugins" />
|
||||
<module fileurl="file://$PROJECT_DIR$/resources/resources.iml" filepath="$PROJECT_DIR$/resources/resources.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/resources-en/resources-en.iml" filepath="$PROJECT_DIR$/resources-en/resources-en.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/platform/smRunner/smRunner.iml" filepath="$PROJECT_DIR$/platform/smRunner/smRunner.iml" group="platform" />
|
||||
|
||||
@@ -434,7 +434,6 @@ public def layoutCommunityPlugins(String home) {
|
||||
dir("lib") {
|
||||
jar("tasks-api.jar") { module("tasks-api") }
|
||||
jar("tasks-core.jar") { module("tasks-core") }
|
||||
jar("jira-connector.jar") { module("jira-connector") }
|
||||
jar("tasks-java.jar") { moduleOptional("tasks-java") }
|
||||
fileset(dir: "${home}/plugins/tasks/tasks-core/lib") {
|
||||
include(name: "**/*.jar")
|
||||
|
||||
@@ -80,7 +80,6 @@
|
||||
<orderEntry type="module" module-name="xslt-debugger" />
|
||||
<orderEntry type="module" module-name="xslt-debugger-engine" />
|
||||
<orderEntry type="module" module-name="tasks-core" />
|
||||
<orderEntry type="module" module-name="jira-connector" />
|
||||
<orderEntry type="module" module-name="tasks-api" />
|
||||
<orderEntry type="module" module-name="tasks-java" />
|
||||
<orderEntry type="module" module-name="tasks-tests" />
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
<orderEntry type="library" name="gson" level="project" />
|
||||
<orderEntry type="module" module-name="dvcs" />
|
||||
<orderEntry type="module" module-name="testFramework" scope="TEST" />
|
||||
<orderEntry type="module" module-name="jira-connector" scope="TEST" />
|
||||
</component>
|
||||
</module>
|
||||
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module MavenProjectsManager.isMavenModule="true" relativePaths="true" type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/atlassian/java" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/target" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="module" module-name="util" />
|
||||
<orderEntry type="module" module-name="platform-api" />
|
||||
<orderEntry type="library" scope="TEST" name="JUnit4" level="project" />
|
||||
<orderEntry type="module" module-name="tasks-api" />
|
||||
<orderEntry type="library" name="http-client-3.1" level="project" />
|
||||
<orderEntry type="module" module-name="tasks-core" />
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/../tasks-core/lib/commons-discovery-0.4.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
</component>
|
||||
</module>
|
||||
|
||||
@@ -1,52 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.intellij.idea</groupId>
|
||||
<artifactId>jira-connector</artifactId>
|
||||
<version>1.0</version>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.atlassian.connector</groupId>
|
||||
<artifactId>atlassian-connector-commons</artifactId>
|
||||
<version>2.2.0</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>com.intellij.idea</groupId>
|
||||
<artifactId>annotations</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>jdom</groupId>
|
||||
<artifactId>jdom</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>axis</groupId>
|
||||
<artifactId>axis</artifactId>
|
||||
<version>1.4</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<configuration>
|
||||
<outputDirectory>lib</outputDirectory>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>atlassian-public-repository</id>
|
||||
<url>https://maven.atlassian.com/public</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
|
||||
</project>
|
||||
-148
@@ -1,148 +0,0 @@
|
||||
/*
|
||||
* Copyright 2000-2012 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* AbstractNamedRemoteEntity.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public abstract class AbstractNamedRemoteEntity extends AbstractRemoteEntity
|
||||
implements java.io.Serializable {
|
||||
private String name;
|
||||
|
||||
public AbstractNamedRemoteEntity() {
|
||||
}
|
||||
|
||||
public AbstractNamedRemoteEntity(
|
||||
String id,
|
||||
String name) {
|
||||
super(
|
||||
id);
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the name value for this AbstractNamedRemoteEntity.
|
||||
*
|
||||
* @return name
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the name value for this AbstractNamedRemoteEntity.
|
||||
*
|
||||
* @param name
|
||||
*/
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof AbstractNamedRemoteEntity)) {
|
||||
return false;
|
||||
}
|
||||
AbstractNamedRemoteEntity other = (AbstractNamedRemoteEntity) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = super.equals(obj) &&
|
||||
((this.name == null && other.getName() == null) ||
|
||||
(this.name != null &&
|
||||
this.name.equals(other.getName())));
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = super.hashCode();
|
||||
if (getName() != null) {
|
||||
_hashCode += getName().hashCode();
|
||||
}
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(AbstractNamedRemoteEntity.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(
|
||||
new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "AbstractNamedRemoteEntity"));
|
||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("name");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-170
@@ -1,170 +0,0 @@
|
||||
/**
|
||||
* AbstractRemoteConstant.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public abstract class AbstractRemoteConstant extends AbstractNamedRemoteEntity
|
||||
implements java.io.Serializable {
|
||||
private String description;
|
||||
|
||||
private String icon;
|
||||
|
||||
public AbstractRemoteConstant() {
|
||||
}
|
||||
|
||||
public AbstractRemoteConstant(
|
||||
String id,
|
||||
String name,
|
||||
String description,
|
||||
String icon) {
|
||||
super(
|
||||
id,
|
||||
name);
|
||||
this.description = description;
|
||||
this.icon = icon;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the description value for this AbstractRemoteConstant.
|
||||
*
|
||||
* @return description
|
||||
*/
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the description value for this AbstractRemoteConstant.
|
||||
*
|
||||
* @param description
|
||||
*/
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the icon value for this AbstractRemoteConstant.
|
||||
*
|
||||
* @return icon
|
||||
*/
|
||||
public String getIcon() {
|
||||
return icon;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the icon value for this AbstractRemoteConstant.
|
||||
*
|
||||
* @param icon
|
||||
*/
|
||||
public void setIcon(String icon) {
|
||||
this.icon = icon;
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof AbstractRemoteConstant)) {
|
||||
return false;
|
||||
}
|
||||
AbstractRemoteConstant other = (AbstractRemoteConstant) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = super.equals(obj) &&
|
||||
((this.description == null && other.getDescription() == null) ||
|
||||
(this.description != null &&
|
||||
this.description.equals(other.getDescription()))) &&
|
||||
((this.icon == null && other.getIcon() == null) ||
|
||||
(this.icon != null &&
|
||||
this.icon.equals(other.getIcon())));
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = super.hashCode();
|
||||
if (getDescription() != null) {
|
||||
_hashCode += getDescription().hashCode();
|
||||
}
|
||||
if (getIcon() != null) {
|
||||
_hashCode += getIcon().hashCode();
|
||||
}
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(AbstractRemoteConstant.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(
|
||||
new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "AbstractRemoteConstant"));
|
||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("description");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("icon");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "icon"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-127
@@ -1,127 +0,0 @@
|
||||
/**
|
||||
* AbstractRemoteEntity.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public abstract class AbstractRemoteEntity implements java.io.Serializable {
|
||||
private String id;
|
||||
|
||||
public AbstractRemoteEntity() {
|
||||
}
|
||||
|
||||
public AbstractRemoteEntity(
|
||||
String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the id value for this AbstractRemoteEntity.
|
||||
*
|
||||
* @return id
|
||||
*/
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the id value for this AbstractRemoteEntity.
|
||||
*
|
||||
* @param id
|
||||
*/
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof AbstractRemoteEntity)) {
|
||||
return false;
|
||||
}
|
||||
AbstractRemoteEntity other = (AbstractRemoteEntity) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = true &&
|
||||
((this.id == null && other.getId() == null) ||
|
||||
(this.id != null &&
|
||||
this.id.equals(other.getId())));
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = 1;
|
||||
if (getId() != null) {
|
||||
_hashCode += getId().hashCode();
|
||||
}
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(AbstractRemoteEntity.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "AbstractRemoteEntity"));
|
||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("id");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "id"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-117
@@ -1,117 +0,0 @@
|
||||
/**
|
||||
* IssueServiceImpl$RemoteWorklogImpl.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
|
||||
public class IssueServiceImpl$RemoteWorklogImpl extends RemoteWorklog
|
||||
implements java.io.Serializable {
|
||||
public IssueServiceImpl$RemoteWorklogImpl() {
|
||||
}
|
||||
|
||||
public IssueServiceImpl$RemoteWorklogImpl(
|
||||
String author,
|
||||
String comment,
|
||||
java.util.Calendar created,
|
||||
String groupLevel,
|
||||
String id,
|
||||
String roleLevelId,
|
||||
java.util.Calendar startDate,
|
||||
String timeSpent,
|
||||
long timeSpentInSeconds,
|
||||
String updateAuthor,
|
||||
java.util.Calendar updated) {
|
||||
super(
|
||||
author,
|
||||
comment,
|
||||
created,
|
||||
groupLevel,
|
||||
id,
|
||||
roleLevelId,
|
||||
startDate,
|
||||
timeSpent,
|
||||
timeSpentInSeconds,
|
||||
updateAuthor,
|
||||
updated);
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof IssueServiceImpl$RemoteWorklogImpl)) {
|
||||
return false;
|
||||
}
|
||||
IssueServiceImpl$RemoteWorklogImpl other = (IssueServiceImpl$RemoteWorklogImpl) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = super.equals(obj);
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = super.hashCode();
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(IssueServiceImpl$RemoteWorklogImpl.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://service.soap.rpc.jira.atlassian.com",
|
||||
"IssueServiceImpl$RemoteWorklogImpl"));
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-495
@@ -1,495 +0,0 @@
|
||||
/**
|
||||
* JiraSoapService.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public interface JiraSoapService extends java.rmi.Remote {
|
||||
public RemoteComment getComment(String in0, long in1)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public RemoteGroup createGroup(String in0, String in1,
|
||||
RemoteUser in2) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public RemoteSecurityLevel getSecurityLevel(String in0,
|
||||
String in1) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteException;
|
||||
|
||||
public RemoteServerInfo getServerInfo(String in0)
|
||||
throws java.rmi.RemoteException;
|
||||
|
||||
public RemoteGroup getGroup(String in0, String in1) throws
|
||||
java.rmi.RemoteException, RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public RemoteUser createUser(String in0, String in1,
|
||||
String in2, String in3, String in4) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public RemoteUser getUser(String in0, String in1) throws
|
||||
java.rmi.RemoteException, RemotePermissionException,
|
||||
RemoteAuthenticationException;
|
||||
|
||||
public String login(String in0, String in1) throws java.rmi.RemoteException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public RemoteIssue getIssue(String in0, String in1) throws
|
||||
java.rmi.RemoteException, RemotePermissionException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public RemoteIssue createIssue(String in0,
|
||||
RemoteIssue in1) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public RemoteNamedObject[] getAvailableActions(String in0,
|
||||
String in1) throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public RemoteIssue updateIssue(String in0, String in1,
|
||||
RemoteFieldValue[] in2)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public RemoteConfiguration getConfiguration(String in0) throws
|
||||
java.rmi.RemoteException, RemotePermissionException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public RemoteComponent[] getComponents(String in0,
|
||||
String in1) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public RemoteProject updateProject(String in0,
|
||||
RemoteProject in1) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public RemoteProject getProjectByKey(String in0, String in1)
|
||||
throws java.rmi.RemoteException, RemotePermissionException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public RemotePriority[] getPriorities(String in0) throws
|
||||
java.rmi.RemoteException, RemotePermissionException,
|
||||
RemoteAuthenticationException;
|
||||
|
||||
public RemoteResolution[] getResolutions(String in0) throws
|
||||
java.rmi.RemoteException, RemotePermissionException,
|
||||
RemoteAuthenticationException;
|
||||
|
||||
public RemoteIssueType[] getIssueTypes(String in0) throws
|
||||
java.rmi.RemoteException, RemotePermissionException,
|
||||
RemoteAuthenticationException;
|
||||
|
||||
public RemoteStatus[] getStatuses(String in0) throws
|
||||
java.rmi.RemoteException, RemotePermissionException,
|
||||
RemoteAuthenticationException;
|
||||
|
||||
public RemoteIssueType[] getSubTaskIssueTypes(String in0) throws
|
||||
java.rmi.RemoteException, RemotePermissionException,
|
||||
RemoteAuthenticationException;
|
||||
|
||||
public RemoteProjectRole[] getProjectRoles(String in0)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public RemoteProjectRole getProjectRole(String in0, long in1)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public RemoteProjectRoleActors getProjectRoleActors(String in0,
|
||||
RemoteProjectRole in1,
|
||||
RemoteProject in2)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public RemoteRoleActors getDefaultRoleActors(String in0,
|
||||
RemoteProjectRole in1)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public void removeAllRoleActorsByNameAndType(String in0, String in1, String in2)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public void removeAllRoleActorsByProject(String in0, RemoteProject in1)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public void deleteProjectRole(String in0, RemoteProjectRole in1,
|
||||
boolean in2) throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public void updateProjectRole(String in0, RemoteProjectRole in1)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public RemoteProjectRole createProjectRole(String in0,
|
||||
RemoteProjectRole in1)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public boolean isProjectRoleNameUnique(String in0, String in1)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public void addActorsToProjectRole(String in0, String[] in1,
|
||||
RemoteProjectRole in2,
|
||||
RemoteProject in3, String in4)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public void removeActorsFromProjectRole(String in0, String[] in1,
|
||||
RemoteProjectRole in2,
|
||||
RemoteProject in3, String in4)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public void addDefaultActorsToProjectRole(String in0, String[] in1,
|
||||
RemoteProjectRole in2, String in3)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public void removeDefaultActorsFromProjectRole(String in0, String[] in1,
|
||||
RemoteProjectRole in2, String in3)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public RemoteScheme[] getAssociatedNotificationSchemes(String in0,
|
||||
RemoteProjectRole in1)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public RemoteScheme[] getAssociatedPermissionSchemes(String in0,
|
||||
RemoteProjectRole in1)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public RemoteField[] getCustomFields(String in0)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public RemoteComment[] getComments(String in0, String in1)
|
||||
throws java.rmi.RemoteException, RemotePermissionException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public RemoteFilter[] getFavouriteFilters(String in0) throws
|
||||
java.rmi.RemoteException, RemotePermissionException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public void archiveVersion(String in0, String in1, String in2, boolean in3)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public RemoteVersion[] getVersions(String in0, String in1)
|
||||
throws java.rmi.RemoteException, RemotePermissionException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public RemoteProject createProject(String in0, String in1,
|
||||
String in2, String in3, String in4, String in5,
|
||||
RemotePermissionScheme in6,
|
||||
RemoteScheme in7,
|
||||
RemoteScheme in8) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public void addComment(String in0, String in1,
|
||||
RemoteComment in2) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public RemoteField[] getFieldsForEdit(String in0, String in1)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public RemoteIssueType[] getIssueTypesForProject(String in0,
|
||||
String in1) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteAuthenticationException;
|
||||
|
||||
public RemoteIssueType[] getSubTaskIssueTypesForProject(String in0,
|
||||
String in1) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteAuthenticationException;
|
||||
|
||||
public void addUserToGroup(String in0, RemoteGroup in1,
|
||||
RemoteUser in2) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public void removeUserFromGroup(String in0, RemoteGroup in1,
|
||||
RemoteUser in2) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public boolean logout(String in0) throws java.rmi.RemoteException;
|
||||
|
||||
public RemoteProject getProjectById(String in0, long in1) throws
|
||||
java.rmi.RemoteException, RemotePermissionException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public RemoteProject getProjectWithSchemesById(String in0, long in1)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public void deleteProject(String in0, String in1) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public void releaseVersion(String in0, String in1,
|
||||
RemoteVersion in2)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public RemoteSecurityLevel[] getSecurityLevels(String in0,
|
||||
String in1) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteException;
|
||||
|
||||
public void deleteIssue(String in0, String in1) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public RemoteIssue createIssueWithSecurityLevel(String in0,
|
||||
RemoteIssue in1, long in2) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public boolean addAttachmentsToIssue(String in0, String in1, String[] in2, byte[][] in3)
|
||||
throws java.rmi.RemoteException, RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public RemoteAttachment[] getAttachmentsFromIssue(String in0,
|
||||
String in1) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public boolean hasPermissionToEditComment(String in0,
|
||||
RemoteComment in1)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public RemoteComment editComment(String in0,
|
||||
RemoteComment in1)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public RemoteField[] getFieldsForAction(String in0,
|
||||
String in1, String in2)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public RemoteIssue progressWorkflowAction(String in0,
|
||||
String in1, String in2, RemoteFieldValue[] in3)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public RemoteIssue getIssueById(String in0, String in1)
|
||||
throws java.rmi.RemoteException, RemotePermissionException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public RemoteWorklog addWorklogWithNewRemainingEstimate(String in0,
|
||||
String in1, RemoteWorklog in2, String in3) throws
|
||||
java.rmi.RemoteException, RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteException;
|
||||
|
||||
public RemoteWorklog addWorklogAndAutoAdjustRemainingEstimate(
|
||||
String in0, String in1, RemoteWorklog in2) throws
|
||||
java.rmi.RemoteException, RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteException;
|
||||
|
||||
public RemoteWorklog addWorklogAndRetainRemainingEstimate(String in0,
|
||||
String in1, RemoteWorklog in2) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteException;
|
||||
|
||||
public void deleteWorklogWithNewRemainingEstimate(String in0, String in1, String in2) throws
|
||||
java.rmi.RemoteException, RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteException;
|
||||
|
||||
public void deleteWorklogAndAutoAdjustRemainingEstimate(String in0, String in1) throws
|
||||
java.rmi.RemoteException, RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteException;
|
||||
|
||||
public void deleteWorklogAndRetainRemainingEstimate(String in0, String in1) throws
|
||||
java.rmi.RemoteException, RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteException;
|
||||
|
||||
public void updateWorklogWithNewRemainingEstimate(String in0,
|
||||
RemoteWorklog in1, String in2) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteException;
|
||||
|
||||
public void updateWorklogAndAutoAdjustRemainingEstimate(String in0,
|
||||
RemoteWorklog in1) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteException;
|
||||
|
||||
public void updateWorklogAndRetainRemainingEstimate(String in0,
|
||||
RemoteWorklog in1) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteException;
|
||||
|
||||
public RemoteWorklog[] getWorklogs(String in0, String in1)
|
||||
throws java.rmi.RemoteException, RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteException;
|
||||
|
||||
public boolean hasPermissionToCreateWorklog(String in0, String in1) throws java.rmi.RemoteException,
|
||||
RemoteValidationException,
|
||||
RemoteException;
|
||||
|
||||
public boolean hasPermissionToDeleteWorklog(String in0, String in1) throws java.rmi.RemoteException,
|
||||
RemoteValidationException,
|
||||
RemoteException;
|
||||
|
||||
public boolean hasPermissionToUpdateWorklog(String in0, String in1) throws java.rmi.RemoteException,
|
||||
RemoteValidationException,
|
||||
RemoteException;
|
||||
|
||||
public RemoteScheme[] getNotificationSchemes(String in0) throws
|
||||
java.rmi.RemoteException, RemotePermissionException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public RemotePermissionScheme[] getPermissionSchemes(String in0) throws
|
||||
java.rmi.RemoteException, RemotePermissionException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public RemotePermissionScheme createPermissionScheme(String in0,
|
||||
String in1, String in2) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public void deletePermissionScheme(String in0, String in1) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public RemotePermissionScheme addPermissionTo(String in0,
|
||||
RemotePermissionScheme in1,
|
||||
RemotePermission in2,
|
||||
RemoteEntity in3) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public RemotePermissionScheme deletePermissionFrom(String in0,
|
||||
RemotePermissionScheme in1,
|
||||
RemotePermission in2,
|
||||
RemoteEntity in3) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public RemotePermission[] getAllPermissions(String in0) throws
|
||||
java.rmi.RemoteException, RemotePermissionException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public long getIssueCountForFilter(String in0, String in1)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public RemoteIssue[] getIssuesFromTextSearch(String in0,
|
||||
String in1) throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public RemoteIssue[] getIssuesFromTextSearchWithProject(String in0,
|
||||
String[] in1, String in2, int in3)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public void deleteUser(String in0, String in1) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public RemoteGroup updateGroup(String in0,
|
||||
RemoteGroup in1) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public void deleteGroup(String in0, String in1, String in2) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public void refreshCustomFields(String in0)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public RemoteProject[] getProjectsNoSchemes(String in0) throws
|
||||
java.rmi.RemoteException, RemotePermissionException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public RemoteVersion addVersion(String in0, String in1,
|
||||
RemoteVersion in2)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public RemoteFilter[] getSavedFilters(String in0) throws
|
||||
java.rmi.RemoteException, RemotePermissionException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public boolean addBase64EncodedAttachmentsToIssue(String in0, String in1, String[] in2,
|
||||
String[] in3) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public RemoteProject createProjectFromObject(String in0,
|
||||
RemoteProject in1) throws java.rmi.RemoteException,
|
||||
RemotePermissionException,
|
||||
RemoteValidationException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public RemoteScheme[] getSecuritySchemes(String in0) throws
|
||||
java.rmi.RemoteException, RemotePermissionException,
|
||||
RemoteAuthenticationException,
|
||||
RemoteException;
|
||||
|
||||
public RemoteIssue[] getIssuesFromFilter(String in0,
|
||||
String in1) throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public RemoteIssue[] getIssuesFromFilterWithLimit(String in0,
|
||||
String in1, int in2, int in3)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
|
||||
public RemoteIssue[] getIssuesFromTextSearchWithLimit(String in0,
|
||||
String in1, int in2, int in3)
|
||||
throws java.rmi.RemoteException, RemoteException;
|
||||
}
|
||||
-18
@@ -1,18 +0,0 @@
|
||||
/**
|
||||
* JiraSoapServiceService.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public interface JiraSoapServiceService extends javax.xml.rpc.Service {
|
||||
public String getJirasoapserviceV2Address();
|
||||
|
||||
public JiraSoapService getJirasoapserviceV2()
|
||||
throws javax.xml.rpc.ServiceException;
|
||||
|
||||
public JiraSoapService getJirasoapserviceV2(java.net.URL portAddress)
|
||||
throws javax.xml.rpc.ServiceException;
|
||||
}
|
||||
-179
@@ -1,179 +0,0 @@
|
||||
/**
|
||||
* JiraSoapServiceServiceLocator.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
import org.apache.axis.EngineConfiguration;
|
||||
|
||||
public class JiraSoapServiceServiceLocator extends org.apache.axis.client.Service
|
||||
implements JiraSoapServiceService {
|
||||
|
||||
public JiraSoapServiceServiceLocator() {
|
||||
}
|
||||
|
||||
|
||||
public JiraSoapServiceServiceLocator(EngineConfiguration config) {
|
||||
super(config);
|
||||
}
|
||||
|
||||
public JiraSoapServiceServiceLocator(String wsdlLoc, javax.xml.namespace.QName sName)
|
||||
throws javax.xml.rpc.ServiceException {
|
||||
super(wsdlLoc, sName);
|
||||
}
|
||||
|
||||
// Use to get a proxy class for JirasoapserviceV2
|
||||
private String JirasoapserviceV2_address = "http://jira.atlassian.com/rpc/soap/jirasoapservice-v2";
|
||||
|
||||
public String getJirasoapserviceV2Address() {
|
||||
return JirasoapserviceV2_address;
|
||||
}
|
||||
|
||||
// The WSDD service name defaults to the port name.
|
||||
private String JirasoapserviceV2WSDDServiceName = "jirasoapservice-v2";
|
||||
|
||||
public String getJirasoapserviceV2WSDDServiceName() {
|
||||
return JirasoapserviceV2WSDDServiceName;
|
||||
}
|
||||
|
||||
public void setJirasoapserviceV2WSDDServiceName(String name) {
|
||||
JirasoapserviceV2WSDDServiceName = name;
|
||||
}
|
||||
|
||||
/*
|
||||
overiden configuration from file client-config.wsdd
|
||||
* */
|
||||
@Override
|
||||
protected EngineConfiguration getEngineConfiguration() {
|
||||
StringBuffer sb = new StringBuffer();
|
||||
|
||||
sb.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
|
||||
+ "<deployment name=\"defaultClientConfig\"\n"
|
||||
+ " xmlns=\"http://xml.apache.org/axis/wsdd/\"\n"
|
||||
+ " xmlns:java=\"http://xml.apache.org/axis/wsdd/providers/java\">\n"
|
||||
+ " <globalConfiguration>\n"
|
||||
+ " <parameter name=\"disablePrettyXML\" value=\"true\"/>\n"
|
||||
+ " <parameter name=\"enableNamespacePrefixOptimization\" value=\"false\"/>\n"
|
||||
+ " </globalConfiguration>");
|
||||
|
||||
sb.append("<transport name=\"http\" pivot=\"java:").append(org.apache.axis.transport.http.HTTPSender.class.getName()).append("\" />\r\n");
|
||||
sb.append("<transport name=\"local\" pivot=\"java:").append(org.apache.axis.transport.local.LocalSender.class.getName()).append("\" />\r\n");
|
||||
sb.append("<transport name=\"java\" pivot=\"java:").append(org.apache.axis.transport.java.JavaSender.class.getName()).append("\" />\r\n");
|
||||
sb.append("</deployment>\r\n");
|
||||
org.apache.axis.configuration.XMLStringProvider config =
|
||||
new org.apache.axis.configuration.XMLStringProvider(sb.toString());
|
||||
return config;
|
||||
}
|
||||
|
||||
|
||||
public JiraSoapService getJirasoapserviceV2()
|
||||
throws javax.xml.rpc.ServiceException {
|
||||
java.net.URL endpoint;
|
||||
try {
|
||||
endpoint = new java.net.URL(JirasoapserviceV2_address);
|
||||
} catch (java.net.MalformedURLException e) {
|
||||
throw new javax.xml.rpc.ServiceException(e);
|
||||
}
|
||||
return getJirasoapserviceV2(endpoint);
|
||||
}
|
||||
|
||||
public JiraSoapService getJirasoapserviceV2(java.net.URL portAddress)
|
||||
throws javax.xml.rpc.ServiceException {
|
||||
try {
|
||||
JirasoapserviceV2SoapBindingStub _stub
|
||||
= new JirasoapserviceV2SoapBindingStub(portAddress,
|
||||
this);
|
||||
_stub.setPortName(getJirasoapserviceV2WSDDServiceName());
|
||||
return _stub;
|
||||
} catch (org.apache.axis.AxisFault e) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public void setJirasoapserviceV2EndpointAddress(String address) {
|
||||
JirasoapserviceV2_address = address;
|
||||
}
|
||||
|
||||
/**
|
||||
* For the given interface, get the stub implementation.
|
||||
* If this service has no port for the given interface,
|
||||
* then ServiceException is thrown.
|
||||
*/
|
||||
public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {
|
||||
try {
|
||||
if (JiraSoapService.class
|
||||
.isAssignableFrom(serviceEndpointInterface)) {
|
||||
JirasoapserviceV2SoapBindingStub _stub
|
||||
= new JirasoapserviceV2SoapBindingStub(
|
||||
new java.net.URL(JirasoapserviceV2_address), this);
|
||||
_stub.setPortName(getJirasoapserviceV2WSDDServiceName());
|
||||
return _stub;
|
||||
}
|
||||
} catch (Throwable t) {
|
||||
throw new javax.xml.rpc.ServiceException(t);
|
||||
}
|
||||
throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface: " +
|
||||
(serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName()));
|
||||
}
|
||||
|
||||
/**
|
||||
* For the given interface, get the stub implementation.
|
||||
* If this service has no port for the given interface,
|
||||
* then ServiceException is thrown.
|
||||
*/
|
||||
public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface)
|
||||
throws javax.xml.rpc.ServiceException {
|
||||
if (portName == null) {
|
||||
return getPort(serviceEndpointInterface);
|
||||
}
|
||||
String inputPortName = portName.getLocalPart();
|
||||
if ("jirasoapservice-v2".equals(inputPortName)) {
|
||||
return getJirasoapserviceV2();
|
||||
} else {
|
||||
java.rmi.Remote _stub = getPort(serviceEndpointInterface);
|
||||
((org.apache.axis.client.Stub) _stub).setPortName(portName);
|
||||
return _stub;
|
||||
}
|
||||
}
|
||||
|
||||
public javax.xml.namespace.QName getServiceName() {
|
||||
return new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2",
|
||||
"JiraSoapServiceService");
|
||||
}
|
||||
|
||||
private java.util.HashSet ports = null;
|
||||
|
||||
public java.util.Iterator getPorts() {
|
||||
if (ports == null) {
|
||||
ports = new java.util.HashSet();
|
||||
ports.add(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2",
|
||||
"jirasoapservice-v2"));
|
||||
}
|
||||
return ports.iterator();
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the endpoint address for the specified port name.
|
||||
*/
|
||||
public void setEndpointAddress(String portName, String address)
|
||||
throws javax.xml.rpc.ServiceException {
|
||||
|
||||
if ("JirasoapserviceV2".equals(portName)) {
|
||||
setJirasoapserviceV2EndpointAddress(address);
|
||||
} else { // Unknown Port Name
|
||||
throw new javax.xml.rpc.ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the endpoint address for the specified port name.
|
||||
*/
|
||||
public void setEndpointAddress(javax.xml.namespace.QName portName, String address)
|
||||
throws javax.xml.rpc.ServiceException {
|
||||
setEndpointAddress(portName.getLocalPart(), address);
|
||||
}
|
||||
|
||||
}
|
||||
-8673
File diff suppressed because it is too large
Load Diff
-275
@@ -1,275 +0,0 @@
|
||||
/**
|
||||
* RemoteAttachment.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteAttachment extends AbstractRemoteEntity
|
||||
implements java.io.Serializable {
|
||||
private String author;
|
||||
|
||||
private java.util.Calendar created;
|
||||
|
||||
private String filename;
|
||||
|
||||
private Long filesize;
|
||||
|
||||
private String mimetype;
|
||||
|
||||
public RemoteAttachment() {
|
||||
}
|
||||
|
||||
public RemoteAttachment(
|
||||
String id,
|
||||
String author,
|
||||
java.util.Calendar created,
|
||||
String filename,
|
||||
Long filesize,
|
||||
String mimetype) {
|
||||
super(
|
||||
id);
|
||||
this.author = author;
|
||||
this.created = created;
|
||||
this.filename = filename;
|
||||
this.filesize = filesize;
|
||||
this.mimetype = mimetype;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the author value for this RemoteAttachment.
|
||||
*
|
||||
* @return author
|
||||
*/
|
||||
public String getAuthor() {
|
||||
return author;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the author value for this RemoteAttachment.
|
||||
*
|
||||
* @param author
|
||||
*/
|
||||
public void setAuthor(String author) {
|
||||
this.author = author;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the created value for this RemoteAttachment.
|
||||
*
|
||||
* @return created
|
||||
*/
|
||||
public java.util.Calendar getCreated() {
|
||||
return created;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the created value for this RemoteAttachment.
|
||||
*
|
||||
* @param created
|
||||
*/
|
||||
public void setCreated(java.util.Calendar created) {
|
||||
this.created = created;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the filename value for this RemoteAttachment.
|
||||
*
|
||||
* @return filename
|
||||
*/
|
||||
public String getFilename() {
|
||||
return filename;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the filename value for this RemoteAttachment.
|
||||
*
|
||||
* @param filename
|
||||
*/
|
||||
public void setFilename(String filename) {
|
||||
this.filename = filename;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the filesize value for this RemoteAttachment.
|
||||
*
|
||||
* @return filesize
|
||||
*/
|
||||
public Long getFilesize() {
|
||||
return filesize;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the filesize value for this RemoteAttachment.
|
||||
*
|
||||
* @param filesize
|
||||
*/
|
||||
public void setFilesize(Long filesize) {
|
||||
this.filesize = filesize;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the mimetype value for this RemoteAttachment.
|
||||
*
|
||||
* @return mimetype
|
||||
*/
|
||||
public String getMimetype() {
|
||||
return mimetype;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the mimetype value for this RemoteAttachment.
|
||||
*
|
||||
* @param mimetype
|
||||
*/
|
||||
public void setMimetype(String mimetype) {
|
||||
this.mimetype = mimetype;
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteAttachment)) {
|
||||
return false;
|
||||
}
|
||||
RemoteAttachment other = (RemoteAttachment) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = super.equals(obj) &&
|
||||
((this.author == null && other.getAuthor() == null) ||
|
||||
(this.author != null &&
|
||||
this.author.equals(other.getAuthor()))) &&
|
||||
((this.created == null && other.getCreated() == null) ||
|
||||
(this.created != null &&
|
||||
this.created.equals(other.getCreated()))) &&
|
||||
((this.filename == null && other.getFilename() == null) ||
|
||||
(this.filename != null &&
|
||||
this.filename.equals(other.getFilename()))) &&
|
||||
((this.filesize == null && other.getFilesize() == null) ||
|
||||
(this.filesize != null &&
|
||||
this.filesize.equals(other.getFilesize()))) &&
|
||||
((this.mimetype == null && other.getMimetype() == null) ||
|
||||
(this.mimetype != null &&
|
||||
this.mimetype.equals(other.getMimetype())));
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = super.hashCode();
|
||||
if (getAuthor() != null) {
|
||||
_hashCode += getAuthor().hashCode();
|
||||
}
|
||||
if (getCreated() != null) {
|
||||
_hashCode += getCreated().hashCode();
|
||||
}
|
||||
if (getFilename() != null) {
|
||||
_hashCode += getFilename().hashCode();
|
||||
}
|
||||
if (getFilesize() != null) {
|
||||
_hashCode += getFilesize().hashCode();
|
||||
}
|
||||
if (getMimetype() != null) {
|
||||
_hashCode += getMimetype().hashCode();
|
||||
}
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteAttachment.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteAttachment"));
|
||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("author");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "author"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("created");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "created"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("filename");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "filename"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("filesize");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "filesize"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("mimetype");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "mimetype"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-98
@@ -1,98 +0,0 @@
|
||||
/**
|
||||
* RemoteAuthenticationException.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteAuthenticationException extends RemoteException
|
||||
implements java.io.Serializable {
|
||||
public RemoteAuthenticationException() {
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteAuthenticationException)) {
|
||||
return false;
|
||||
}
|
||||
RemoteAuthenticationException other = (RemoteAuthenticationException) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = super.equals(obj);
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = super.hashCode();
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteAuthenticationException.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(
|
||||
new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"));
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Writes the exception data to the faultDetails
|
||||
*/
|
||||
public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context)
|
||||
throws java.io.IOException {
|
||||
context.serialize(qname, null, this);
|
||||
}
|
||||
}
|
||||
-379
@@ -1,379 +0,0 @@
|
||||
/**
|
||||
* RemoteComment.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteComment implements java.io.Serializable {
|
||||
private String author;
|
||||
|
||||
private String body;
|
||||
|
||||
private java.util.Calendar created;
|
||||
|
||||
private String groupLevel;
|
||||
|
||||
private String id;
|
||||
|
||||
private String roleLevel;
|
||||
|
||||
private String updateAuthor;
|
||||
|
||||
private java.util.Calendar updated;
|
||||
|
||||
public RemoteComment() {
|
||||
}
|
||||
|
||||
public RemoteComment(
|
||||
String author,
|
||||
String body,
|
||||
java.util.Calendar created,
|
||||
String groupLevel,
|
||||
String id,
|
||||
String roleLevel,
|
||||
String updateAuthor,
|
||||
java.util.Calendar updated) {
|
||||
this.author = author;
|
||||
this.body = body;
|
||||
this.created = created;
|
||||
this.groupLevel = groupLevel;
|
||||
this.id = id;
|
||||
this.roleLevel = roleLevel;
|
||||
this.updateAuthor = updateAuthor;
|
||||
this.updated = updated;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the author value for this RemoteComment.
|
||||
*
|
||||
* @return author
|
||||
*/
|
||||
public String getAuthor() {
|
||||
return author;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the author value for this RemoteComment.
|
||||
*
|
||||
* @param author
|
||||
*/
|
||||
public void setAuthor(String author) {
|
||||
this.author = author;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the body value for this RemoteComment.
|
||||
*
|
||||
* @return body
|
||||
*/
|
||||
public String getBody() {
|
||||
return body;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the body value for this RemoteComment.
|
||||
*
|
||||
* @param body
|
||||
*/
|
||||
public void setBody(String body) {
|
||||
this.body = body;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the created value for this RemoteComment.
|
||||
*
|
||||
* @return created
|
||||
*/
|
||||
public java.util.Calendar getCreated() {
|
||||
return created;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the created value for this RemoteComment.
|
||||
*
|
||||
* @param created
|
||||
*/
|
||||
public void setCreated(java.util.Calendar created) {
|
||||
this.created = created;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the groupLevel value for this RemoteComment.
|
||||
*
|
||||
* @return groupLevel
|
||||
*/
|
||||
public String getGroupLevel() {
|
||||
return groupLevel;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the groupLevel value for this RemoteComment.
|
||||
*
|
||||
* @param groupLevel
|
||||
*/
|
||||
public void setGroupLevel(String groupLevel) {
|
||||
this.groupLevel = groupLevel;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the id value for this RemoteComment.
|
||||
*
|
||||
* @return id
|
||||
*/
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the id value for this RemoteComment.
|
||||
*
|
||||
* @param id
|
||||
*/
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the roleLevel value for this RemoteComment.
|
||||
*
|
||||
* @return roleLevel
|
||||
*/
|
||||
public String getRoleLevel() {
|
||||
return roleLevel;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the roleLevel value for this RemoteComment.
|
||||
*
|
||||
* @param roleLevel
|
||||
*/
|
||||
public void setRoleLevel(String roleLevel) {
|
||||
this.roleLevel = roleLevel;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the updateAuthor value for this RemoteComment.
|
||||
*
|
||||
* @return updateAuthor
|
||||
*/
|
||||
public String getUpdateAuthor() {
|
||||
return updateAuthor;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the updateAuthor value for this RemoteComment.
|
||||
*
|
||||
* @param updateAuthor
|
||||
*/
|
||||
public void setUpdateAuthor(String updateAuthor) {
|
||||
this.updateAuthor = updateAuthor;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the updated value for this RemoteComment.
|
||||
*
|
||||
* @return updated
|
||||
*/
|
||||
public java.util.Calendar getUpdated() {
|
||||
return updated;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the updated value for this RemoteComment.
|
||||
*
|
||||
* @param updated
|
||||
*/
|
||||
public void setUpdated(java.util.Calendar updated) {
|
||||
this.updated = updated;
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteComment)) {
|
||||
return false;
|
||||
}
|
||||
RemoteComment other = (RemoteComment) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = true &&
|
||||
((this.author == null && other.getAuthor() == null) ||
|
||||
(this.author != null &&
|
||||
this.author.equals(other.getAuthor()))) &&
|
||||
((this.body == null && other.getBody() == null) ||
|
||||
(this.body != null &&
|
||||
this.body.equals(other.getBody()))) &&
|
||||
((this.created == null && other.getCreated() == null) ||
|
||||
(this.created != null &&
|
||||
this.created.equals(other.getCreated()))) &&
|
||||
((this.groupLevel == null && other.getGroupLevel() == null) ||
|
||||
(this.groupLevel != null &&
|
||||
this.groupLevel.equals(other.getGroupLevel()))) &&
|
||||
((this.id == null && other.getId() == null) ||
|
||||
(this.id != null &&
|
||||
this.id.equals(other.getId()))) &&
|
||||
((this.roleLevel == null && other.getRoleLevel() == null) ||
|
||||
(this.roleLevel != null &&
|
||||
this.roleLevel.equals(other.getRoleLevel()))) &&
|
||||
((this.updateAuthor == null && other.getUpdateAuthor() == null) ||
|
||||
(this.updateAuthor != null &&
|
||||
this.updateAuthor.equals(other.getUpdateAuthor()))) &&
|
||||
((this.updated == null && other.getUpdated() == null) ||
|
||||
(this.updated != null &&
|
||||
this.updated.equals(other.getUpdated())));
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = 1;
|
||||
if (getAuthor() != null) {
|
||||
_hashCode += getAuthor().hashCode();
|
||||
}
|
||||
if (getBody() != null) {
|
||||
_hashCode += getBody().hashCode();
|
||||
}
|
||||
if (getCreated() != null) {
|
||||
_hashCode += getCreated().hashCode();
|
||||
}
|
||||
if (getGroupLevel() != null) {
|
||||
_hashCode += getGroupLevel().hashCode();
|
||||
}
|
||||
if (getId() != null) {
|
||||
_hashCode += getId().hashCode();
|
||||
}
|
||||
if (getRoleLevel() != null) {
|
||||
_hashCode += getRoleLevel().hashCode();
|
||||
}
|
||||
if (getUpdateAuthor() != null) {
|
||||
_hashCode += getUpdateAuthor().hashCode();
|
||||
}
|
||||
if (getUpdated() != null) {
|
||||
_hashCode += getUpdated().hashCode();
|
||||
}
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteComment.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteComment"));
|
||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("author");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "author"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("body");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "body"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("created");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "created"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("groupLevel");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "groupLevel"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("id");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "id"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("roleLevel");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "roleLevel"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("updateAuthor");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "updateAuthor"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("updated");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "updated"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-97
@@ -1,97 +0,0 @@
|
||||
/**
|
||||
* RemoteComponent.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteComponent extends AbstractNamedRemoteEntity
|
||||
implements java.io.Serializable {
|
||||
public RemoteComponent() {
|
||||
}
|
||||
|
||||
public RemoteComponent(
|
||||
String id,
|
||||
String name) {
|
||||
super(
|
||||
id,
|
||||
name);
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteComponent)) {
|
||||
return false;
|
||||
}
|
||||
RemoteComponent other = (RemoteComponent) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = super.equals(obj);
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = super.hashCode();
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteComponent.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteComponent"));
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-411
@@ -1,411 +0,0 @@
|
||||
/**
|
||||
* RemoteConfiguration.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteConfiguration implements java.io.Serializable {
|
||||
private boolean allowAttachments;
|
||||
|
||||
private boolean allowExternalUserManagment;
|
||||
|
||||
private boolean allowIssueLinking;
|
||||
|
||||
private boolean allowSubTasks;
|
||||
|
||||
private boolean allowTimeTracking;
|
||||
|
||||
private boolean allowUnassignedIssues;
|
||||
|
||||
private boolean allowVoting;
|
||||
|
||||
private boolean allowWatching;
|
||||
|
||||
private int timeTrackingDaysPerWeek;
|
||||
|
||||
private int timeTrackingHoursPerDay;
|
||||
|
||||
public RemoteConfiguration() {
|
||||
}
|
||||
|
||||
public RemoteConfiguration(
|
||||
boolean allowAttachments,
|
||||
boolean allowExternalUserManagment,
|
||||
boolean allowIssueLinking,
|
||||
boolean allowSubTasks,
|
||||
boolean allowTimeTracking,
|
||||
boolean allowUnassignedIssues,
|
||||
boolean allowVoting,
|
||||
boolean allowWatching,
|
||||
int timeTrackingDaysPerWeek,
|
||||
int timeTrackingHoursPerDay) {
|
||||
this.allowAttachments = allowAttachments;
|
||||
this.allowExternalUserManagment = allowExternalUserManagment;
|
||||
this.allowIssueLinking = allowIssueLinking;
|
||||
this.allowSubTasks = allowSubTasks;
|
||||
this.allowTimeTracking = allowTimeTracking;
|
||||
this.allowUnassignedIssues = allowUnassignedIssues;
|
||||
this.allowVoting = allowVoting;
|
||||
this.allowWatching = allowWatching;
|
||||
this.timeTrackingDaysPerWeek = timeTrackingDaysPerWeek;
|
||||
this.timeTrackingHoursPerDay = timeTrackingHoursPerDay;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the allowAttachments value for this RemoteConfiguration.
|
||||
*
|
||||
* @return allowAttachments
|
||||
*/
|
||||
public boolean isAllowAttachments() {
|
||||
return allowAttachments;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the allowAttachments value for this RemoteConfiguration.
|
||||
*
|
||||
* @param allowAttachments
|
||||
*/
|
||||
public void setAllowAttachments(boolean allowAttachments) {
|
||||
this.allowAttachments = allowAttachments;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the allowExternalUserManagment value for this RemoteConfiguration.
|
||||
*
|
||||
* @return allowExternalUserManagment
|
||||
*/
|
||||
public boolean isAllowExternalUserManagment() {
|
||||
return allowExternalUserManagment;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the allowExternalUserManagment value for this RemoteConfiguration.
|
||||
*
|
||||
* @param allowExternalUserManagment
|
||||
*/
|
||||
public void setAllowExternalUserManagment(boolean allowExternalUserManagment) {
|
||||
this.allowExternalUserManagment = allowExternalUserManagment;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the allowIssueLinking value for this RemoteConfiguration.
|
||||
*
|
||||
* @return allowIssueLinking
|
||||
*/
|
||||
public boolean isAllowIssueLinking() {
|
||||
return allowIssueLinking;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the allowIssueLinking value for this RemoteConfiguration.
|
||||
*
|
||||
* @param allowIssueLinking
|
||||
*/
|
||||
public void setAllowIssueLinking(boolean allowIssueLinking) {
|
||||
this.allowIssueLinking = allowIssueLinking;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the allowSubTasks value for this RemoteConfiguration.
|
||||
*
|
||||
* @return allowSubTasks
|
||||
*/
|
||||
public boolean isAllowSubTasks() {
|
||||
return allowSubTasks;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the allowSubTasks value for this RemoteConfiguration.
|
||||
*
|
||||
* @param allowSubTasks
|
||||
*/
|
||||
public void setAllowSubTasks(boolean allowSubTasks) {
|
||||
this.allowSubTasks = allowSubTasks;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the allowTimeTracking value for this RemoteConfiguration.
|
||||
*
|
||||
* @return allowTimeTracking
|
||||
*/
|
||||
public boolean isAllowTimeTracking() {
|
||||
return allowTimeTracking;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the allowTimeTracking value for this RemoteConfiguration.
|
||||
*
|
||||
* @param allowTimeTracking
|
||||
*/
|
||||
public void setAllowTimeTracking(boolean allowTimeTracking) {
|
||||
this.allowTimeTracking = allowTimeTracking;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the allowUnassignedIssues value for this RemoteConfiguration.
|
||||
*
|
||||
* @return allowUnassignedIssues
|
||||
*/
|
||||
public boolean isAllowUnassignedIssues() {
|
||||
return allowUnassignedIssues;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the allowUnassignedIssues value for this RemoteConfiguration.
|
||||
*
|
||||
* @param allowUnassignedIssues
|
||||
*/
|
||||
public void setAllowUnassignedIssues(boolean allowUnassignedIssues) {
|
||||
this.allowUnassignedIssues = allowUnassignedIssues;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the allowVoting value for this RemoteConfiguration.
|
||||
*
|
||||
* @return allowVoting
|
||||
*/
|
||||
public boolean isAllowVoting() {
|
||||
return allowVoting;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the allowVoting value for this RemoteConfiguration.
|
||||
*
|
||||
* @param allowVoting
|
||||
*/
|
||||
public void setAllowVoting(boolean allowVoting) {
|
||||
this.allowVoting = allowVoting;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the allowWatching value for this RemoteConfiguration.
|
||||
*
|
||||
* @return allowWatching
|
||||
*/
|
||||
public boolean isAllowWatching() {
|
||||
return allowWatching;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the allowWatching value for this RemoteConfiguration.
|
||||
*
|
||||
* @param allowWatching
|
||||
*/
|
||||
public void setAllowWatching(boolean allowWatching) {
|
||||
this.allowWatching = allowWatching;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the timeTrackingDaysPerWeek value for this RemoteConfiguration.
|
||||
*
|
||||
* @return timeTrackingDaysPerWeek
|
||||
*/
|
||||
public int getTimeTrackingDaysPerWeek() {
|
||||
return timeTrackingDaysPerWeek;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the timeTrackingDaysPerWeek value for this RemoteConfiguration.
|
||||
*
|
||||
* @param timeTrackingDaysPerWeek
|
||||
*/
|
||||
public void setTimeTrackingDaysPerWeek(int timeTrackingDaysPerWeek) {
|
||||
this.timeTrackingDaysPerWeek = timeTrackingDaysPerWeek;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the timeTrackingHoursPerDay value for this RemoteConfiguration.
|
||||
*
|
||||
* @return timeTrackingHoursPerDay
|
||||
*/
|
||||
public int getTimeTrackingHoursPerDay() {
|
||||
return timeTrackingHoursPerDay;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the timeTrackingHoursPerDay value for this RemoteConfiguration.
|
||||
*
|
||||
* @param timeTrackingHoursPerDay
|
||||
*/
|
||||
public void setTimeTrackingHoursPerDay(int timeTrackingHoursPerDay) {
|
||||
this.timeTrackingHoursPerDay = timeTrackingHoursPerDay;
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteConfiguration)) {
|
||||
return false;
|
||||
}
|
||||
RemoteConfiguration other = (RemoteConfiguration) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = true &&
|
||||
this.allowAttachments == other.isAllowAttachments() &&
|
||||
this.allowExternalUserManagment == other.isAllowExternalUserManagment() &&
|
||||
this.allowIssueLinking == other.isAllowIssueLinking() &&
|
||||
this.allowSubTasks == other.isAllowSubTasks() &&
|
||||
this.allowTimeTracking == other.isAllowTimeTracking() &&
|
||||
this.allowUnassignedIssues == other.isAllowUnassignedIssues() &&
|
||||
this.allowVoting == other.isAllowVoting() &&
|
||||
this.allowWatching == other.isAllowWatching() &&
|
||||
this.timeTrackingDaysPerWeek == other.getTimeTrackingDaysPerWeek() &&
|
||||
this.timeTrackingHoursPerDay == other.getTimeTrackingHoursPerDay();
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = 1;
|
||||
_hashCode += (isAllowAttachments() ? Boolean.TRUE : Boolean.FALSE).hashCode();
|
||||
_hashCode += (isAllowExternalUserManagment() ? Boolean.TRUE : Boolean.FALSE).hashCode();
|
||||
_hashCode += (isAllowIssueLinking() ? Boolean.TRUE : Boolean.FALSE).hashCode();
|
||||
_hashCode += (isAllowSubTasks() ? Boolean.TRUE : Boolean.FALSE).hashCode();
|
||||
_hashCode += (isAllowTimeTracking() ? Boolean.TRUE : Boolean.FALSE).hashCode();
|
||||
_hashCode += (isAllowUnassignedIssues() ? Boolean.TRUE : Boolean.FALSE).hashCode();
|
||||
_hashCode += (isAllowVoting() ? Boolean.TRUE : Boolean.FALSE).hashCode();
|
||||
_hashCode += (isAllowWatching() ? Boolean.TRUE : Boolean.FALSE).hashCode();
|
||||
_hashCode += getTimeTrackingDaysPerWeek();
|
||||
_hashCode += getTimeTrackingHoursPerDay();
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteConfiguration.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteConfiguration"));
|
||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("allowAttachments");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "allowAttachments"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
|
||||
elemField.setNillable(false);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("allowExternalUserManagment");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "allowExternalUserManagment"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
|
||||
elemField.setNillable(false);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("allowIssueLinking");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "allowIssueLinking"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
|
||||
elemField.setNillable(false);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("allowSubTasks");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "allowSubTasks"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
|
||||
elemField.setNillable(false);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("allowTimeTracking");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "allowTimeTracking"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
|
||||
elemField.setNillable(false);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("allowUnassignedIssues");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "allowUnassignedIssues"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
|
||||
elemField.setNillable(false);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("allowVoting");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "allowVoting"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
|
||||
elemField.setNillable(false);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("allowWatching");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "allowWatching"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
|
||||
elemField.setNillable(false);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("timeTrackingDaysPerWeek");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "timeTrackingDaysPerWeek"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
|
||||
elemField.setNillable(false);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("timeTrackingHoursPerDay");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "timeTrackingHoursPerDay"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
|
||||
elemField.setNillable(false);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-208
@@ -1,208 +0,0 @@
|
||||
/**
|
||||
* RemoteCustomFieldValue.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteCustomFieldValue implements java.io.Serializable {
|
||||
private String customfieldId;
|
||||
|
||||
private String key;
|
||||
|
||||
private String[] values;
|
||||
|
||||
public RemoteCustomFieldValue() {
|
||||
}
|
||||
|
||||
public RemoteCustomFieldValue(
|
||||
String customfieldId,
|
||||
String key,
|
||||
String[] values) {
|
||||
this.customfieldId = customfieldId;
|
||||
this.key = key;
|
||||
this.values = values;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the customfieldId value for this RemoteCustomFieldValue.
|
||||
*
|
||||
* @return customfieldId
|
||||
*/
|
||||
public String getCustomfieldId() {
|
||||
return customfieldId;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the customfieldId value for this RemoteCustomFieldValue.
|
||||
*
|
||||
* @param customfieldId
|
||||
*/
|
||||
public void setCustomfieldId(String customfieldId) {
|
||||
this.customfieldId = customfieldId;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the key value for this RemoteCustomFieldValue.
|
||||
*
|
||||
* @return key
|
||||
*/
|
||||
public String getKey() {
|
||||
return key;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the key value for this RemoteCustomFieldValue.
|
||||
*
|
||||
* @param key
|
||||
*/
|
||||
public void setKey(String key) {
|
||||
this.key = key;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the values value for this RemoteCustomFieldValue.
|
||||
*
|
||||
* @return values
|
||||
*/
|
||||
public String[] getValues() {
|
||||
return values;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the values value for this RemoteCustomFieldValue.
|
||||
*
|
||||
* @param values
|
||||
*/
|
||||
public void setValues(String[] values) {
|
||||
this.values = values;
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteCustomFieldValue)) {
|
||||
return false;
|
||||
}
|
||||
RemoteCustomFieldValue other = (RemoteCustomFieldValue) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = true &&
|
||||
((this.customfieldId == null && other.getCustomfieldId() == null) ||
|
||||
(this.customfieldId != null &&
|
||||
this.customfieldId.equals(other.getCustomfieldId()))) &&
|
||||
((this.key == null && other.getKey() == null) ||
|
||||
(this.key != null &&
|
||||
this.key.equals(other.getKey()))) &&
|
||||
((this.values == null && other.getValues() == null) ||
|
||||
(this.values != null &&
|
||||
java.util.Arrays.equals(this.values, other.getValues())));
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = 1;
|
||||
if (getCustomfieldId() != null) {
|
||||
_hashCode += getCustomfieldId().hashCode();
|
||||
}
|
||||
if (getKey() != null) {
|
||||
_hashCode += getKey().hashCode();
|
||||
}
|
||||
if (getValues() != null) {
|
||||
for (int i = 0;
|
||||
i < java.lang.reflect.Array.getLength(getValues());
|
||||
i++) {
|
||||
Object obj = java.lang.reflect.Array.get(getValues(), i);
|
||||
if (obj != null &&
|
||||
!obj.getClass().isArray()) {
|
||||
_hashCode += obj.hashCode();
|
||||
}
|
||||
}
|
||||
}
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteCustomFieldValue.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(
|
||||
new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteCustomFieldValue"));
|
||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("customfieldId");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "customfieldId"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("key");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "key"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("values");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "values"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-88
@@ -1,88 +0,0 @@
|
||||
/**
|
||||
* RemoteEntity.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteEntity implements java.io.Serializable {
|
||||
public RemoteEntity() {
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteEntity)) {
|
||||
return false;
|
||||
}
|
||||
RemoteEntity other = (RemoteEntity) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = true;
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = 1;
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteEntity.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteEntity"));
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-96
@@ -1,96 +0,0 @@
|
||||
/**
|
||||
* RemoteException.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteException extends org.apache.axis.AxisFault implements java.io.Serializable {
|
||||
public RemoteException() {
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteException)) {
|
||||
return false;
|
||||
}
|
||||
RemoteException other = (RemoteException) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = true;
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = 1;
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteException.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"));
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Writes the exception data to the faultDetails
|
||||
*/
|
||||
public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context)
|
||||
throws java.io.IOException {
|
||||
context.serialize(qname, null, this);
|
||||
}
|
||||
}
|
||||
-97
@@ -1,97 +0,0 @@
|
||||
/**
|
||||
* RemoteField.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteField extends AbstractNamedRemoteEntity
|
||||
implements java.io.Serializable {
|
||||
public RemoteField() {
|
||||
}
|
||||
|
||||
public RemoteField(
|
||||
String id,
|
||||
String name) {
|
||||
super(
|
||||
id,
|
||||
name);
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteField)) {
|
||||
return false;
|
||||
}
|
||||
RemoteField other = (RemoteField) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = super.equals(obj);
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = super.hashCode();
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteField.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteField"));
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-171
@@ -1,171 +0,0 @@
|
||||
/**
|
||||
* RemoteFieldValue.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteFieldValue implements java.io.Serializable {
|
||||
private String id;
|
||||
|
||||
private String[] values;
|
||||
|
||||
public RemoteFieldValue() {
|
||||
}
|
||||
|
||||
public RemoteFieldValue(
|
||||
String id,
|
||||
String[] values) {
|
||||
this.id = id;
|
||||
this.values = values;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the id value for this RemoteFieldValue.
|
||||
*
|
||||
* @return id
|
||||
*/
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the id value for this RemoteFieldValue.
|
||||
*
|
||||
* @param id
|
||||
*/
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the values value for this RemoteFieldValue.
|
||||
*
|
||||
* @return values
|
||||
*/
|
||||
public String[] getValues() {
|
||||
return values;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the values value for this RemoteFieldValue.
|
||||
*
|
||||
* @param values
|
||||
*/
|
||||
public void setValues(String[] values) {
|
||||
this.values = values;
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteFieldValue)) {
|
||||
return false;
|
||||
}
|
||||
RemoteFieldValue other = (RemoteFieldValue) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = true &&
|
||||
((this.id == null && other.getId() == null) ||
|
||||
(this.id != null &&
|
||||
this.id.equals(other.getId()))) &&
|
||||
((this.values == null && other.getValues() == null) ||
|
||||
(this.values != null &&
|
||||
java.util.Arrays.equals(this.values, other.getValues())));
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = 1;
|
||||
if (getId() != null) {
|
||||
_hashCode += getId().hashCode();
|
||||
}
|
||||
if (getValues() != null) {
|
||||
for (int i = 0;
|
||||
i < java.lang.reflect.Array.getLength(getValues());
|
||||
i++) {
|
||||
Object obj = java.lang.reflect.Array.get(getValues(), i);
|
||||
if (obj != null &&
|
||||
!obj.getClass().isArray()) {
|
||||
_hashCode += obj.hashCode();
|
||||
}
|
||||
}
|
||||
}
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteFieldValue.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteFieldValue"));
|
||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("id");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "id"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("values");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "values"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-241
@@ -1,241 +0,0 @@
|
||||
/**
|
||||
* RemoteFilter.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteFilter extends AbstractNamedRemoteEntity
|
||||
implements java.io.Serializable {
|
||||
private String author;
|
||||
|
||||
private String description;
|
||||
|
||||
private String project;
|
||||
|
||||
private String xml;
|
||||
|
||||
public RemoteFilter() {
|
||||
}
|
||||
|
||||
public RemoteFilter(
|
||||
String id,
|
||||
String name,
|
||||
String author,
|
||||
String description,
|
||||
String project,
|
||||
String xml) {
|
||||
super(
|
||||
id,
|
||||
name);
|
||||
this.author = author;
|
||||
this.description = description;
|
||||
this.project = project;
|
||||
this.xml = xml;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the author value for this RemoteFilter.
|
||||
*
|
||||
* @return author
|
||||
*/
|
||||
public String getAuthor() {
|
||||
return author;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the author value for this RemoteFilter.
|
||||
*
|
||||
* @param author
|
||||
*/
|
||||
public void setAuthor(String author) {
|
||||
this.author = author;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the description value for this RemoteFilter.
|
||||
*
|
||||
* @return description
|
||||
*/
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the description value for this RemoteFilter.
|
||||
*
|
||||
* @param description
|
||||
*/
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the project value for this RemoteFilter.
|
||||
*
|
||||
* @return project
|
||||
*/
|
||||
public String getProject() {
|
||||
return project;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the project value for this RemoteFilter.
|
||||
*
|
||||
* @param project
|
||||
*/
|
||||
public void setProject(String project) {
|
||||
this.project = project;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the xml value for this RemoteFilter.
|
||||
*
|
||||
* @return xml
|
||||
*/
|
||||
public String getXml() {
|
||||
return xml;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the xml value for this RemoteFilter.
|
||||
*
|
||||
* @param xml
|
||||
*/
|
||||
public void setXml(String xml) {
|
||||
this.xml = xml;
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteFilter)) {
|
||||
return false;
|
||||
}
|
||||
RemoteFilter other = (RemoteFilter) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = super.equals(obj) &&
|
||||
((this.author == null && other.getAuthor() == null) ||
|
||||
(this.author != null &&
|
||||
this.author.equals(other.getAuthor()))) &&
|
||||
((this.description == null && other.getDescription() == null) ||
|
||||
(this.description != null &&
|
||||
this.description.equals(other.getDescription()))) &&
|
||||
((this.project == null && other.getProject() == null) ||
|
||||
(this.project != null &&
|
||||
this.project.equals(other.getProject()))) &&
|
||||
((this.xml == null && other.getXml() == null) ||
|
||||
(this.xml != null &&
|
||||
this.xml.equals(other.getXml())));
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = super.hashCode();
|
||||
if (getAuthor() != null) {
|
||||
_hashCode += getAuthor().hashCode();
|
||||
}
|
||||
if (getDescription() != null) {
|
||||
_hashCode += getDescription().hashCode();
|
||||
}
|
||||
if (getProject() != null) {
|
||||
_hashCode += getProject().hashCode();
|
||||
}
|
||||
if (getXml() != null) {
|
||||
_hashCode += getXml().hashCode();
|
||||
}
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteFilter.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteFilter"));
|
||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("author");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "author"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("description");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("project");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "project"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("xml");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "xml"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-171
@@ -1,171 +0,0 @@
|
||||
/**
|
||||
* RemoteGroup.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteGroup extends RemoteEntity implements java.io.Serializable {
|
||||
private String name;
|
||||
|
||||
private RemoteUser[] users;
|
||||
|
||||
public RemoteGroup() {
|
||||
}
|
||||
|
||||
public RemoteGroup(
|
||||
String name,
|
||||
RemoteUser[] users) {
|
||||
this.name = name;
|
||||
this.users = users;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the name value for this RemoteGroup.
|
||||
*
|
||||
* @return name
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the name value for this RemoteGroup.
|
||||
*
|
||||
* @param name
|
||||
*/
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the users value for this RemoteGroup.
|
||||
*
|
||||
* @return users
|
||||
*/
|
||||
public RemoteUser[] getUsers() {
|
||||
return users;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the users value for this RemoteGroup.
|
||||
*
|
||||
* @param users
|
||||
*/
|
||||
public void setUsers(RemoteUser[] users) {
|
||||
this.users = users;
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteGroup)) {
|
||||
return false;
|
||||
}
|
||||
RemoteGroup other = (RemoteGroup) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = super.equals(obj) &&
|
||||
((this.name == null && other.getName() == null) ||
|
||||
(this.name != null &&
|
||||
this.name.equals(other.getName()))) &&
|
||||
((this.users == null && other.getUsers() == null) ||
|
||||
(this.users != null &&
|
||||
java.util.Arrays.equals(this.users, other.getUsers())));
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = super.hashCode();
|
||||
if (getName() != null) {
|
||||
_hashCode += getName().hashCode();
|
||||
}
|
||||
if (getUsers() != null) {
|
||||
for (int i = 0;
|
||||
i < java.lang.reflect.Array.getLength(getUsers());
|
||||
i++) {
|
||||
Object obj = java.lang.reflect.Array.get(getUsers(), i);
|
||||
if (obj != null &&
|
||||
!obj.getClass().isArray()) {
|
||||
_hashCode += obj.hashCode();
|
||||
}
|
||||
}
|
||||
}
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteGroup.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteGroup"));
|
||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("name");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("users");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "users"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteUser"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-856
@@ -1,856 +0,0 @@
|
||||
/**
|
||||
* RemoteIssue.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteIssue extends AbstractRemoteEntity
|
||||
implements java.io.Serializable {
|
||||
private RemoteVersion[] affectsVersions;
|
||||
|
||||
private String assignee;
|
||||
|
||||
private String[] attachmentNames;
|
||||
|
||||
private RemoteComponent[] components;
|
||||
|
||||
private java.util.Calendar created;
|
||||
|
||||
private RemoteCustomFieldValue[] customFieldValues;
|
||||
|
||||
private String description;
|
||||
|
||||
private java.util.Calendar duedate;
|
||||
|
||||
private String environment;
|
||||
|
||||
private RemoteVersion[] fixVersions;
|
||||
|
||||
private String key;
|
||||
|
||||
private String priority;
|
||||
|
||||
private String project;
|
||||
|
||||
private String reporter;
|
||||
|
||||
private String resolution;
|
||||
|
||||
private String status;
|
||||
|
||||
private String summary;
|
||||
|
||||
private String type;
|
||||
|
||||
private java.util.Calendar updated;
|
||||
|
||||
private Long votes;
|
||||
|
||||
public RemoteIssue() {
|
||||
}
|
||||
|
||||
public RemoteIssue(
|
||||
String id,
|
||||
RemoteVersion[] affectsVersions,
|
||||
String assignee,
|
||||
String[] attachmentNames,
|
||||
RemoteComponent[] components,
|
||||
java.util.Calendar created,
|
||||
RemoteCustomFieldValue[] customFieldValues,
|
||||
String description,
|
||||
java.util.Calendar duedate,
|
||||
String environment,
|
||||
RemoteVersion[] fixVersions,
|
||||
String key,
|
||||
String priority,
|
||||
String project,
|
||||
String reporter,
|
||||
String resolution,
|
||||
String status,
|
||||
String summary,
|
||||
String type,
|
||||
java.util.Calendar updated,
|
||||
Long votes) {
|
||||
super(
|
||||
id);
|
||||
this.affectsVersions = affectsVersions;
|
||||
this.assignee = assignee;
|
||||
this.attachmentNames = attachmentNames;
|
||||
this.components = components;
|
||||
this.created = created;
|
||||
this.customFieldValues = customFieldValues;
|
||||
this.description = description;
|
||||
this.duedate = duedate;
|
||||
this.environment = environment;
|
||||
this.fixVersions = fixVersions;
|
||||
this.key = key;
|
||||
this.priority = priority;
|
||||
this.project = project;
|
||||
this.reporter = reporter;
|
||||
this.resolution = resolution;
|
||||
this.status = status;
|
||||
this.summary = summary;
|
||||
this.type = type;
|
||||
this.updated = updated;
|
||||
this.votes = votes;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the affectsVersions value for this RemoteIssue.
|
||||
*
|
||||
* @return affectsVersions
|
||||
*/
|
||||
public RemoteVersion[] getAffectsVersions() {
|
||||
return affectsVersions;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the affectsVersions value for this RemoteIssue.
|
||||
*
|
||||
* @param affectsVersions
|
||||
*/
|
||||
public void setAffectsVersions(RemoteVersion[] affectsVersions) {
|
||||
this.affectsVersions = affectsVersions;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the assignee value for this RemoteIssue.
|
||||
*
|
||||
* @return assignee
|
||||
*/
|
||||
public String getAssignee() {
|
||||
return assignee;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the assignee value for this RemoteIssue.
|
||||
*
|
||||
* @param assignee
|
||||
*/
|
||||
public void setAssignee(String assignee) {
|
||||
this.assignee = assignee;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the attachmentNames value for this RemoteIssue.
|
||||
*
|
||||
* @return attachmentNames
|
||||
*/
|
||||
public String[] getAttachmentNames() {
|
||||
return attachmentNames;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the attachmentNames value for this RemoteIssue.
|
||||
*
|
||||
* @param attachmentNames
|
||||
*/
|
||||
public void setAttachmentNames(String[] attachmentNames) {
|
||||
this.attachmentNames = attachmentNames;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the components value for this RemoteIssue.
|
||||
*
|
||||
* @return components
|
||||
*/
|
||||
public RemoteComponent[] getComponents() {
|
||||
return components;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the components value for this RemoteIssue.
|
||||
*
|
||||
* @param components
|
||||
*/
|
||||
public void setComponents(RemoteComponent[] components) {
|
||||
this.components = components;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the created value for this RemoteIssue.
|
||||
*
|
||||
* @return created
|
||||
*/
|
||||
public java.util.Calendar getCreated() {
|
||||
return created;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the created value for this RemoteIssue.
|
||||
*
|
||||
* @param created
|
||||
*/
|
||||
public void setCreated(java.util.Calendar created) {
|
||||
this.created = created;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the customFieldValues value for this RemoteIssue.
|
||||
*
|
||||
* @return customFieldValues
|
||||
*/
|
||||
public RemoteCustomFieldValue[] getCustomFieldValues() {
|
||||
return customFieldValues;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the customFieldValues value for this RemoteIssue.
|
||||
*
|
||||
* @param customFieldValues
|
||||
*/
|
||||
public void setCustomFieldValues(RemoteCustomFieldValue[] customFieldValues) {
|
||||
this.customFieldValues = customFieldValues;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the description value for this RemoteIssue.
|
||||
*
|
||||
* @return description
|
||||
*/
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the description value for this RemoteIssue.
|
||||
*
|
||||
* @param description
|
||||
*/
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the duedate value for this RemoteIssue.
|
||||
*
|
||||
* @return duedate
|
||||
*/
|
||||
public java.util.Calendar getDuedate() {
|
||||
return duedate;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the duedate value for this RemoteIssue.
|
||||
*
|
||||
* @param duedate
|
||||
*/
|
||||
public void setDuedate(java.util.Calendar duedate) {
|
||||
this.duedate = duedate;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the environment value for this RemoteIssue.
|
||||
*
|
||||
* @return environment
|
||||
*/
|
||||
public String getEnvironment() {
|
||||
return environment;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the environment value for this RemoteIssue.
|
||||
*
|
||||
* @param environment
|
||||
*/
|
||||
public void setEnvironment(String environment) {
|
||||
this.environment = environment;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the fixVersions value for this RemoteIssue.
|
||||
*
|
||||
* @return fixVersions
|
||||
*/
|
||||
public RemoteVersion[] getFixVersions() {
|
||||
return fixVersions;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the fixVersions value for this RemoteIssue.
|
||||
*
|
||||
* @param fixVersions
|
||||
*/
|
||||
public void setFixVersions(RemoteVersion[] fixVersions) {
|
||||
this.fixVersions = fixVersions;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the key value for this RemoteIssue.
|
||||
*
|
||||
* @return key
|
||||
*/
|
||||
public String getKey() {
|
||||
return key;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the key value for this RemoteIssue.
|
||||
*
|
||||
* @param key
|
||||
*/
|
||||
public void setKey(String key) {
|
||||
this.key = key;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the priority value for this RemoteIssue.
|
||||
*
|
||||
* @return priority
|
||||
*/
|
||||
public String getPriority() {
|
||||
return priority;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the priority value for this RemoteIssue.
|
||||
*
|
||||
* @param priority
|
||||
*/
|
||||
public void setPriority(String priority) {
|
||||
this.priority = priority;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the project value for this RemoteIssue.
|
||||
*
|
||||
* @return project
|
||||
*/
|
||||
public String getProject() {
|
||||
return project;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the project value for this RemoteIssue.
|
||||
*
|
||||
* @param project
|
||||
*/
|
||||
public void setProject(String project) {
|
||||
this.project = project;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the reporter value for this RemoteIssue.
|
||||
*
|
||||
* @return reporter
|
||||
*/
|
||||
public String getReporter() {
|
||||
return reporter;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the reporter value for this RemoteIssue.
|
||||
*
|
||||
* @param reporter
|
||||
*/
|
||||
public void setReporter(String reporter) {
|
||||
this.reporter = reporter;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the resolution value for this RemoteIssue.
|
||||
*
|
||||
* @return resolution
|
||||
*/
|
||||
public String getResolution() {
|
||||
return resolution;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the resolution value for this RemoteIssue.
|
||||
*
|
||||
* @param resolution
|
||||
*/
|
||||
public void setResolution(String resolution) {
|
||||
this.resolution = resolution;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the status value for this RemoteIssue.
|
||||
*
|
||||
* @return status
|
||||
*/
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the status value for this RemoteIssue.
|
||||
*
|
||||
* @param status
|
||||
*/
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the summary value for this RemoteIssue.
|
||||
*
|
||||
* @return summary
|
||||
*/
|
||||
public String getSummary() {
|
||||
return summary;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the summary value for this RemoteIssue.
|
||||
*
|
||||
* @param summary
|
||||
*/
|
||||
public void setSummary(String summary) {
|
||||
this.summary = summary;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the type value for this RemoteIssue.
|
||||
*
|
||||
* @return type
|
||||
*/
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the type value for this RemoteIssue.
|
||||
*
|
||||
* @param type
|
||||
*/
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the updated value for this RemoteIssue.
|
||||
*
|
||||
* @return updated
|
||||
*/
|
||||
public java.util.Calendar getUpdated() {
|
||||
return updated;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the updated value for this RemoteIssue.
|
||||
*
|
||||
* @param updated
|
||||
*/
|
||||
public void setUpdated(java.util.Calendar updated) {
|
||||
this.updated = updated;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the votes value for this RemoteIssue.
|
||||
*
|
||||
* @return votes
|
||||
*/
|
||||
public Long getVotes() {
|
||||
return votes;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the votes value for this RemoteIssue.
|
||||
*
|
||||
* @param votes
|
||||
*/
|
||||
public void setVotes(Long votes) {
|
||||
this.votes = votes;
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteIssue)) {
|
||||
return false;
|
||||
}
|
||||
RemoteIssue other = (RemoteIssue) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = super.equals(obj) &&
|
||||
((this.affectsVersions == null && other.getAffectsVersions() == null) ||
|
||||
(this.affectsVersions != null &&
|
||||
java.util.Arrays.equals(this.affectsVersions, other.getAffectsVersions()))) &&
|
||||
((this.assignee == null && other.getAssignee() == null) ||
|
||||
(this.assignee != null &&
|
||||
this.assignee.equals(other.getAssignee()))) &&
|
||||
((this.attachmentNames == null && other.getAttachmentNames() == null) ||
|
||||
(this.attachmentNames != null &&
|
||||
java.util.Arrays.equals(this.attachmentNames, other.getAttachmentNames()))) &&
|
||||
((this.components == null && other.getComponents() == null) ||
|
||||
(this.components != null &&
|
||||
java.util.Arrays.equals(this.components, other.getComponents()))) &&
|
||||
((this.created == null && other.getCreated() == null) ||
|
||||
(this.created != null &&
|
||||
this.created.equals(other.getCreated()))) &&
|
||||
((this.customFieldValues == null && other.getCustomFieldValues() == null) ||
|
||||
(this.customFieldValues != null &&
|
||||
java.util.Arrays.equals(this.customFieldValues, other.getCustomFieldValues()))) &&
|
||||
((this.description == null && other.getDescription() == null) ||
|
||||
(this.description != null &&
|
||||
this.description.equals(other.getDescription()))) &&
|
||||
((this.duedate == null && other.getDuedate() == null) ||
|
||||
(this.duedate != null &&
|
||||
this.duedate.equals(other.getDuedate()))) &&
|
||||
((this.environment == null && other.getEnvironment() == null) ||
|
||||
(this.environment != null &&
|
||||
this.environment.equals(other.getEnvironment()))) &&
|
||||
((this.fixVersions == null && other.getFixVersions() == null) ||
|
||||
(this.fixVersions != null &&
|
||||
java.util.Arrays.equals(this.fixVersions, other.getFixVersions()))) &&
|
||||
((this.key == null && other.getKey() == null) ||
|
||||
(this.key != null &&
|
||||
this.key.equals(other.getKey()))) &&
|
||||
((this.priority == null && other.getPriority() == null) ||
|
||||
(this.priority != null &&
|
||||
this.priority.equals(other.getPriority()))) &&
|
||||
((this.project == null && other.getProject() == null) ||
|
||||
(this.project != null &&
|
||||
this.project.equals(other.getProject()))) &&
|
||||
((this.reporter == null && other.getReporter() == null) ||
|
||||
(this.reporter != null &&
|
||||
this.reporter.equals(other.getReporter()))) &&
|
||||
((this.resolution == null && other.getResolution() == null) ||
|
||||
(this.resolution != null &&
|
||||
this.resolution.equals(other.getResolution()))) &&
|
||||
((this.status == null && other.getStatus() == null) ||
|
||||
(this.status != null &&
|
||||
this.status.equals(other.getStatus()))) &&
|
||||
((this.summary == null && other.getSummary() == null) ||
|
||||
(this.summary != null &&
|
||||
this.summary.equals(other.getSummary()))) &&
|
||||
((this.type == null && other.getType() == null) ||
|
||||
(this.type != null &&
|
||||
this.type.equals(other.getType()))) &&
|
||||
((this.updated == null && other.getUpdated() == null) ||
|
||||
(this.updated != null &&
|
||||
this.updated.equals(other.getUpdated()))) &&
|
||||
((this.votes == null && other.getVotes() == null) ||
|
||||
(this.votes != null &&
|
||||
this.votes.equals(other.getVotes())));
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = super.hashCode();
|
||||
if (getAffectsVersions() != null) {
|
||||
for (int i = 0;
|
||||
i < java.lang.reflect.Array.getLength(getAffectsVersions());
|
||||
i++) {
|
||||
Object obj = java.lang.reflect.Array.get(getAffectsVersions(), i);
|
||||
if (obj != null &&
|
||||
!obj.getClass().isArray()) {
|
||||
_hashCode += obj.hashCode();
|
||||
}
|
||||
}
|
||||
}
|
||||
if (getAssignee() != null) {
|
||||
_hashCode += getAssignee().hashCode();
|
||||
}
|
||||
if (getAttachmentNames() != null) {
|
||||
for (int i = 0;
|
||||
i < java.lang.reflect.Array.getLength(getAttachmentNames());
|
||||
i++) {
|
||||
Object obj = java.lang.reflect.Array.get(getAttachmentNames(), i);
|
||||
if (obj != null &&
|
||||
!obj.getClass().isArray()) {
|
||||
_hashCode += obj.hashCode();
|
||||
}
|
||||
}
|
||||
}
|
||||
if (getComponents() != null) {
|
||||
for (int i = 0;
|
||||
i < java.lang.reflect.Array.getLength(getComponents());
|
||||
i++) {
|
||||
Object obj = java.lang.reflect.Array.get(getComponents(), i);
|
||||
if (obj != null &&
|
||||
!obj.getClass().isArray()) {
|
||||
_hashCode += obj.hashCode();
|
||||
}
|
||||
}
|
||||
}
|
||||
if (getCreated() != null) {
|
||||
_hashCode += getCreated().hashCode();
|
||||
}
|
||||
if (getCustomFieldValues() != null) {
|
||||
for (int i = 0;
|
||||
i < java.lang.reflect.Array.getLength(getCustomFieldValues());
|
||||
i++) {
|
||||
Object obj = java.lang.reflect.Array.get(getCustomFieldValues(), i);
|
||||
if (obj != null &&
|
||||
!obj.getClass().isArray()) {
|
||||
_hashCode += obj.hashCode();
|
||||
}
|
||||
}
|
||||
}
|
||||
if (getDescription() != null) {
|
||||
_hashCode += getDescription().hashCode();
|
||||
}
|
||||
if (getDuedate() != null) {
|
||||
_hashCode += getDuedate().hashCode();
|
||||
}
|
||||
if (getEnvironment() != null) {
|
||||
_hashCode += getEnvironment().hashCode();
|
||||
}
|
||||
if (getFixVersions() != null) {
|
||||
for (int i = 0;
|
||||
i < java.lang.reflect.Array.getLength(getFixVersions());
|
||||
i++) {
|
||||
Object obj = java.lang.reflect.Array.get(getFixVersions(), i);
|
||||
if (obj != null &&
|
||||
!obj.getClass().isArray()) {
|
||||
_hashCode += obj.hashCode();
|
||||
}
|
||||
}
|
||||
}
|
||||
if (getKey() != null) {
|
||||
_hashCode += getKey().hashCode();
|
||||
}
|
||||
if (getPriority() != null) {
|
||||
_hashCode += getPriority().hashCode();
|
||||
}
|
||||
if (getProject() != null) {
|
||||
_hashCode += getProject().hashCode();
|
||||
}
|
||||
if (getReporter() != null) {
|
||||
_hashCode += getReporter().hashCode();
|
||||
}
|
||||
if (getResolution() != null) {
|
||||
_hashCode += getResolution().hashCode();
|
||||
}
|
||||
if (getStatus() != null) {
|
||||
_hashCode += getStatus().hashCode();
|
||||
}
|
||||
if (getSummary() != null) {
|
||||
_hashCode += getSummary().hashCode();
|
||||
}
|
||||
if (getType() != null) {
|
||||
_hashCode += getType().hashCode();
|
||||
}
|
||||
if (getUpdated() != null) {
|
||||
_hashCode += getUpdated().hashCode();
|
||||
}
|
||||
if (getVotes() != null) {
|
||||
_hashCode += getVotes().hashCode();
|
||||
}
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteIssue.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteIssue"));
|
||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("affectsVersions");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "affectsVersions"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteVersion"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("assignee");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "assignee"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("attachmentNames");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "attachmentNames"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("components");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "components"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteComponent"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("created");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "created"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("customFieldValues");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "customFieldValues"));
|
||||
elemField.setXmlType(
|
||||
new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteCustomFieldValue"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("description");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("duedate");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "duedate"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("environment");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "environment"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("fixVersions");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "fixVersions"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteVersion"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("key");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "key"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("priority");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "priority"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("project");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "project"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("reporter");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "reporter"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("resolution");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "resolution"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("status");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "status"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("summary");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "summary"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("type");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "type"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("updated");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "updated"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("votes");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "votes"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-133
@@ -1,133 +0,0 @@
|
||||
/**
|
||||
* RemoteIssueType.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteIssueType extends AbstractRemoteConstant
|
||||
implements java.io.Serializable {
|
||||
private boolean subTask;
|
||||
|
||||
public RemoteIssueType() {
|
||||
}
|
||||
|
||||
public RemoteIssueType(
|
||||
String id,
|
||||
String name,
|
||||
String description,
|
||||
String icon,
|
||||
boolean subTask) {
|
||||
super(
|
||||
id,
|
||||
name,
|
||||
description,
|
||||
icon);
|
||||
this.subTask = subTask;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the subTask value for this RemoteIssueType.
|
||||
*
|
||||
* @return subTask
|
||||
*/
|
||||
public boolean isSubTask() {
|
||||
return subTask;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the subTask value for this RemoteIssueType.
|
||||
*
|
||||
* @param subTask
|
||||
*/
|
||||
public void setSubTask(boolean subTask) {
|
||||
this.subTask = subTask;
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteIssueType)) {
|
||||
return false;
|
||||
}
|
||||
RemoteIssueType other = (RemoteIssueType) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = super.equals(obj) &&
|
||||
this.subTask == other.isSubTask();
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = super.hashCode();
|
||||
_hashCode += (isSubTask() ? Boolean.TRUE : Boolean.FALSE).hashCode();
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteIssueType.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteIssueType"));
|
||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("subTask");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "subTask"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
|
||||
elemField.setNillable(false);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-97
@@ -1,97 +0,0 @@
|
||||
/**
|
||||
* RemoteNamedObject.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteNamedObject extends AbstractNamedRemoteEntity
|
||||
implements java.io.Serializable {
|
||||
public RemoteNamedObject() {
|
||||
}
|
||||
|
||||
public RemoteNamedObject(
|
||||
String id,
|
||||
String name) {
|
||||
super(
|
||||
id,
|
||||
name);
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteNamedObject)) {
|
||||
return false;
|
||||
}
|
||||
RemoteNamedObject other = (RemoteNamedObject) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = super.equals(obj);
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = super.hashCode();
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteNamedObject.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteNamedObject"));
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-163
@@ -1,163 +0,0 @@
|
||||
/**
|
||||
* RemotePermission.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemotePermission implements java.io.Serializable {
|
||||
private String name;
|
||||
|
||||
private Long permission;
|
||||
|
||||
public RemotePermission() {
|
||||
}
|
||||
|
||||
public RemotePermission(
|
||||
String name,
|
||||
Long permission) {
|
||||
this.name = name;
|
||||
this.permission = permission;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the name value for this RemotePermission.
|
||||
*
|
||||
* @return name
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the name value for this RemotePermission.
|
||||
*
|
||||
* @param name
|
||||
*/
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the permission value for this RemotePermission.
|
||||
*
|
||||
* @return permission
|
||||
*/
|
||||
public Long getPermission() {
|
||||
return permission;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the permission value for this RemotePermission.
|
||||
*
|
||||
* @param permission
|
||||
*/
|
||||
public void setPermission(Long permission) {
|
||||
this.permission = permission;
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemotePermission)) {
|
||||
return false;
|
||||
}
|
||||
RemotePermission other = (RemotePermission) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = true &&
|
||||
((this.name == null && other.getName() == null) ||
|
||||
(this.name != null &&
|
||||
this.name.equals(other.getName()))) &&
|
||||
((this.permission == null && other.getPermission() == null) ||
|
||||
(this.permission != null &&
|
||||
this.permission.equals(other.getPermission())));
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = 1;
|
||||
if (getName() != null) {
|
||||
_hashCode += getName().hashCode();
|
||||
}
|
||||
if (getPermission() != null) {
|
||||
_hashCode += getPermission().hashCode();
|
||||
}
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemotePermission.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePermission"));
|
||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("name");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("permission");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "permission"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-98
@@ -1,98 +0,0 @@
|
||||
/**
|
||||
* RemotePermissionException.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemotePermissionException extends RemoteException
|
||||
implements java.io.Serializable {
|
||||
public RemotePermissionException() {
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemotePermissionException)) {
|
||||
return false;
|
||||
}
|
||||
RemotePermissionException other = (RemotePermissionException) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = super.equals(obj);
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = super.hashCode();
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemotePermissionException.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(
|
||||
new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"));
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Writes the exception data to the faultDetails
|
||||
*/
|
||||
public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context)
|
||||
throws java.io.IOException {
|
||||
context.serialize(qname, null, this);
|
||||
}
|
||||
}
|
||||
-172
@@ -1,172 +0,0 @@
|
||||
/**
|
||||
* RemotePermissionMapping.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemotePermissionMapping implements java.io.Serializable {
|
||||
private RemotePermission permission;
|
||||
|
||||
private RemoteEntity[] remoteEntities;
|
||||
|
||||
public RemotePermissionMapping() {
|
||||
}
|
||||
|
||||
public RemotePermissionMapping(
|
||||
RemotePermission permission,
|
||||
RemoteEntity[] remoteEntities) {
|
||||
this.permission = permission;
|
||||
this.remoteEntities = remoteEntities;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the permission value for this RemotePermissionMapping.
|
||||
*
|
||||
* @return permission
|
||||
*/
|
||||
public RemotePermission getPermission() {
|
||||
return permission;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the permission value for this RemotePermissionMapping.
|
||||
*
|
||||
* @param permission
|
||||
*/
|
||||
public void setPermission(RemotePermission permission) {
|
||||
this.permission = permission;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the remoteEntities value for this RemotePermissionMapping.
|
||||
*
|
||||
* @return remoteEntities
|
||||
*/
|
||||
public RemoteEntity[] getRemoteEntities() {
|
||||
return remoteEntities;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the remoteEntities value for this RemotePermissionMapping.
|
||||
*
|
||||
* @param remoteEntities
|
||||
*/
|
||||
public void setRemoteEntities(RemoteEntity[] remoteEntities) {
|
||||
this.remoteEntities = remoteEntities;
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemotePermissionMapping)) {
|
||||
return false;
|
||||
}
|
||||
RemotePermissionMapping other = (RemotePermissionMapping) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = true &&
|
||||
((this.permission == null && other.getPermission() == null) ||
|
||||
(this.permission != null &&
|
||||
this.permission.equals(other.getPermission()))) &&
|
||||
((this.remoteEntities == null && other.getRemoteEntities() == null) ||
|
||||
(this.remoteEntities != null &&
|
||||
java.util.Arrays.equals(this.remoteEntities, other.getRemoteEntities())));
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = 1;
|
||||
if (getPermission() != null) {
|
||||
_hashCode += getPermission().hashCode();
|
||||
}
|
||||
if (getRemoteEntities() != null) {
|
||||
for (int i = 0;
|
||||
i < java.lang.reflect.Array.getLength(getRemoteEntities());
|
||||
i++) {
|
||||
Object obj = java.lang.reflect.Array.get(getRemoteEntities(), i);
|
||||
if (obj != null &&
|
||||
!obj.getClass().isArray()) {
|
||||
_hashCode += obj.hashCode();
|
||||
}
|
||||
}
|
||||
}
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemotePermissionMapping.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(
|
||||
new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePermissionMapping"));
|
||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("permission");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "permission"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePermission"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("remoteEntities");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "remoteEntities"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteEntity"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-147
@@ -1,147 +0,0 @@
|
||||
/**
|
||||
* RemotePermissionScheme.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemotePermissionScheme extends RemoteScheme
|
||||
implements java.io.Serializable {
|
||||
private RemotePermissionMapping[] permissionMappings;
|
||||
|
||||
public RemotePermissionScheme() {
|
||||
}
|
||||
|
||||
public RemotePermissionScheme(
|
||||
String description,
|
||||
Long id,
|
||||
String name,
|
||||
String type,
|
||||
RemotePermissionMapping[] permissionMappings) {
|
||||
super(
|
||||
description,
|
||||
id,
|
||||
name,
|
||||
type);
|
||||
this.permissionMappings = permissionMappings;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the permissionMappings value for this RemotePermissionScheme.
|
||||
*
|
||||
* @return permissionMappings
|
||||
*/
|
||||
public RemotePermissionMapping[] getPermissionMappings() {
|
||||
return permissionMappings;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the permissionMappings value for this RemotePermissionScheme.
|
||||
*
|
||||
* @param permissionMappings
|
||||
*/
|
||||
public void setPermissionMappings(RemotePermissionMapping[] permissionMappings) {
|
||||
this.permissionMappings = permissionMappings;
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemotePermissionScheme)) {
|
||||
return false;
|
||||
}
|
||||
RemotePermissionScheme other = (RemotePermissionScheme) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = super.equals(obj) &&
|
||||
((this.permissionMappings == null && other.getPermissionMappings() == null) ||
|
||||
(this.permissionMappings != null &&
|
||||
java.util.Arrays.equals(this.permissionMappings, other.getPermissionMappings())));
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = super.hashCode();
|
||||
if (getPermissionMappings() != null) {
|
||||
for (int i = 0;
|
||||
i < java.lang.reflect.Array.getLength(getPermissionMappings());
|
||||
i++) {
|
||||
Object obj = java.lang.reflect.Array.get(getPermissionMappings(), i);
|
||||
if (obj != null &&
|
||||
!obj.getClass().isArray()) {
|
||||
_hashCode += obj.hashCode();
|
||||
}
|
||||
}
|
||||
}
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemotePermissionScheme.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(
|
||||
new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePermissionScheme"));
|
||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("permissionMappings");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "permissionMappings"));
|
||||
elemField.setXmlType(
|
||||
new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePermissionMapping"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-137
@@ -1,137 +0,0 @@
|
||||
/**
|
||||
* RemotePriority.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemotePriority extends AbstractRemoteConstant
|
||||
implements java.io.Serializable {
|
||||
private String color;
|
||||
|
||||
public RemotePriority() {
|
||||
}
|
||||
|
||||
public RemotePriority(
|
||||
String id,
|
||||
String name,
|
||||
String description,
|
||||
String icon,
|
||||
String color) {
|
||||
super(
|
||||
id,
|
||||
name,
|
||||
description,
|
||||
icon);
|
||||
this.color = color;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the color value for this RemotePriority.
|
||||
*
|
||||
* @return color
|
||||
*/
|
||||
public String getColor() {
|
||||
return color;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the color value for this RemotePriority.
|
||||
*
|
||||
* @param color
|
||||
*/
|
||||
public void setColor(String color) {
|
||||
this.color = color;
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemotePriority)) {
|
||||
return false;
|
||||
}
|
||||
RemotePriority other = (RemotePriority) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = super.equals(obj) &&
|
||||
((this.color == null && other.getColor() == null) ||
|
||||
(this.color != null &&
|
||||
this.color.equals(other.getColor())));
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = super.hashCode();
|
||||
if (getColor() != null) {
|
||||
_hashCode += getColor().hashCode();
|
||||
}
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemotePriority.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePriority"));
|
||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("color");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "color"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-386
@@ -1,386 +0,0 @@
|
||||
/**
|
||||
* RemoteProject.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteProject extends AbstractNamedRemoteEntity
|
||||
implements java.io.Serializable {
|
||||
private String description;
|
||||
|
||||
private RemoteScheme issueSecurityScheme;
|
||||
|
||||
private String key;
|
||||
|
||||
private String lead;
|
||||
|
||||
private RemoteScheme notificationScheme;
|
||||
|
||||
private RemotePermissionScheme permissionScheme;
|
||||
|
||||
private String projectUrl;
|
||||
|
||||
private String url;
|
||||
|
||||
public RemoteProject() {
|
||||
}
|
||||
|
||||
public RemoteProject(
|
||||
String id,
|
||||
String name,
|
||||
String description,
|
||||
RemoteScheme issueSecurityScheme,
|
||||
String key,
|
||||
String lead,
|
||||
RemoteScheme notificationScheme,
|
||||
RemotePermissionScheme permissionScheme,
|
||||
String projectUrl,
|
||||
String url) {
|
||||
super(
|
||||
id,
|
||||
name);
|
||||
this.description = description;
|
||||
this.issueSecurityScheme = issueSecurityScheme;
|
||||
this.key = key;
|
||||
this.lead = lead;
|
||||
this.notificationScheme = notificationScheme;
|
||||
this.permissionScheme = permissionScheme;
|
||||
this.projectUrl = projectUrl;
|
||||
this.url = url;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the description value for this RemoteProject.
|
||||
*
|
||||
* @return description
|
||||
*/
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the description value for this RemoteProject.
|
||||
*
|
||||
* @param description
|
||||
*/
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the issueSecurityScheme value for this RemoteProject.
|
||||
*
|
||||
* @return issueSecurityScheme
|
||||
*/
|
||||
public RemoteScheme getIssueSecurityScheme() {
|
||||
return issueSecurityScheme;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the issueSecurityScheme value for this RemoteProject.
|
||||
*
|
||||
* @param issueSecurityScheme
|
||||
*/
|
||||
public void setIssueSecurityScheme(RemoteScheme issueSecurityScheme) {
|
||||
this.issueSecurityScheme = issueSecurityScheme;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the key value for this RemoteProject.
|
||||
*
|
||||
* @return key
|
||||
*/
|
||||
public String getKey() {
|
||||
return key;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the key value for this RemoteProject.
|
||||
*
|
||||
* @param key
|
||||
*/
|
||||
public void setKey(String key) {
|
||||
this.key = key;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the lead value for this RemoteProject.
|
||||
*
|
||||
* @return lead
|
||||
*/
|
||||
public String getLead() {
|
||||
return lead;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the lead value for this RemoteProject.
|
||||
*
|
||||
* @param lead
|
||||
*/
|
||||
public void setLead(String lead) {
|
||||
this.lead = lead;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the notificationScheme value for this RemoteProject.
|
||||
*
|
||||
* @return notificationScheme
|
||||
*/
|
||||
public RemoteScheme getNotificationScheme() {
|
||||
return notificationScheme;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the notificationScheme value for this RemoteProject.
|
||||
*
|
||||
* @param notificationScheme
|
||||
*/
|
||||
public void setNotificationScheme(RemoteScheme notificationScheme) {
|
||||
this.notificationScheme = notificationScheme;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the permissionScheme value for this RemoteProject.
|
||||
*
|
||||
* @return permissionScheme
|
||||
*/
|
||||
public RemotePermissionScheme getPermissionScheme() {
|
||||
return permissionScheme;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the permissionScheme value for this RemoteProject.
|
||||
*
|
||||
* @param permissionScheme
|
||||
*/
|
||||
public void setPermissionScheme(RemotePermissionScheme permissionScheme) {
|
||||
this.permissionScheme = permissionScheme;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the projectUrl value for this RemoteProject.
|
||||
*
|
||||
* @return projectUrl
|
||||
*/
|
||||
public String getProjectUrl() {
|
||||
return projectUrl;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the projectUrl value for this RemoteProject.
|
||||
*
|
||||
* @param projectUrl
|
||||
*/
|
||||
public void setProjectUrl(String projectUrl) {
|
||||
this.projectUrl = projectUrl;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the url value for this RemoteProject.
|
||||
*
|
||||
* @return url
|
||||
*/
|
||||
public String getUrl() {
|
||||
return url;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the url value for this RemoteProject.
|
||||
*
|
||||
* @param url
|
||||
*/
|
||||
public void setUrl(String url) {
|
||||
this.url = url;
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteProject)) {
|
||||
return false;
|
||||
}
|
||||
RemoteProject other = (RemoteProject) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = super.equals(obj) &&
|
||||
((this.description == null && other.getDescription() == null) ||
|
||||
(this.description != null &&
|
||||
this.description.equals(other.getDescription()))) &&
|
||||
((this.issueSecurityScheme == null && other.getIssueSecurityScheme() == null) ||
|
||||
(this.issueSecurityScheme != null &&
|
||||
this.issueSecurityScheme.equals(other.getIssueSecurityScheme()))) &&
|
||||
((this.key == null && other.getKey() == null) ||
|
||||
(this.key != null &&
|
||||
this.key.equals(other.getKey()))) &&
|
||||
((this.lead == null && other.getLead() == null) ||
|
||||
(this.lead != null &&
|
||||
this.lead.equals(other.getLead()))) &&
|
||||
((this.notificationScheme == null && other.getNotificationScheme() == null) ||
|
||||
(this.notificationScheme != null &&
|
||||
this.notificationScheme.equals(other.getNotificationScheme()))) &&
|
||||
((this.permissionScheme == null && other.getPermissionScheme() == null) ||
|
||||
(this.permissionScheme != null &&
|
||||
this.permissionScheme.equals(other.getPermissionScheme()))) &&
|
||||
((this.projectUrl == null && other.getProjectUrl() == null) ||
|
||||
(this.projectUrl != null &&
|
||||
this.projectUrl.equals(other.getProjectUrl()))) &&
|
||||
((this.url == null && other.getUrl() == null) ||
|
||||
(this.url != null &&
|
||||
this.url.equals(other.getUrl())));
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = super.hashCode();
|
||||
if (getDescription() != null) {
|
||||
_hashCode += getDescription().hashCode();
|
||||
}
|
||||
if (getIssueSecurityScheme() != null) {
|
||||
_hashCode += getIssueSecurityScheme().hashCode();
|
||||
}
|
||||
if (getKey() != null) {
|
||||
_hashCode += getKey().hashCode();
|
||||
}
|
||||
if (getLead() != null) {
|
||||
_hashCode += getLead().hashCode();
|
||||
}
|
||||
if (getNotificationScheme() != null) {
|
||||
_hashCode += getNotificationScheme().hashCode();
|
||||
}
|
||||
if (getPermissionScheme() != null) {
|
||||
_hashCode += getPermissionScheme().hashCode();
|
||||
}
|
||||
if (getProjectUrl() != null) {
|
||||
_hashCode += getProjectUrl().hashCode();
|
||||
}
|
||||
if (getUrl() != null) {
|
||||
_hashCode += getUrl().hashCode();
|
||||
}
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteProject.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProject"));
|
||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("description");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("issueSecurityScheme");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "issueSecurityScheme"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteScheme"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("key");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "key"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("lead");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "lead"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("notificationScheme");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "notificationScheme"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteScheme"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("permissionScheme");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "permissionScheme"));
|
||||
elemField.setXmlType(
|
||||
new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePermissionScheme"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("projectUrl");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "projectUrl"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("url");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "url"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-199
@@ -1,199 +0,0 @@
|
||||
/**
|
||||
* RemoteProjectRole.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteProjectRole implements java.io.Serializable {
|
||||
private String description;
|
||||
|
||||
private Long id;
|
||||
|
||||
private String name;
|
||||
|
||||
public RemoteProjectRole() {
|
||||
}
|
||||
|
||||
public RemoteProjectRole(
|
||||
String description,
|
||||
Long id,
|
||||
String name) {
|
||||
this.description = description;
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the description value for this RemoteProjectRole.
|
||||
*
|
||||
* @return description
|
||||
*/
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the description value for this RemoteProjectRole.
|
||||
*
|
||||
* @param description
|
||||
*/
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the id value for this RemoteProjectRole.
|
||||
*
|
||||
* @return id
|
||||
*/
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the id value for this RemoteProjectRole.
|
||||
*
|
||||
* @param id
|
||||
*/
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the name value for this RemoteProjectRole.
|
||||
*
|
||||
* @return name
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the name value for this RemoteProjectRole.
|
||||
*
|
||||
* @param name
|
||||
*/
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteProjectRole)) {
|
||||
return false;
|
||||
}
|
||||
RemoteProjectRole other = (RemoteProjectRole) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = true &&
|
||||
((this.description == null && other.getDescription() == null) ||
|
||||
(this.description != null &&
|
||||
this.description.equals(other.getDescription()))) &&
|
||||
((this.id == null && other.getId() == null) ||
|
||||
(this.id != null &&
|
||||
this.id.equals(other.getId()))) &&
|
||||
((this.name == null && other.getName() == null) ||
|
||||
(this.name != null &&
|
||||
this.name.equals(other.getName())));
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = 1;
|
||||
if (getDescription() != null) {
|
||||
_hashCode += getDescription().hashCode();
|
||||
}
|
||||
if (getId() != null) {
|
||||
_hashCode += getId().hashCode();
|
||||
}
|
||||
if (getName() != null) {
|
||||
_hashCode += getName().hashCode();
|
||||
}
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteProjectRole.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProjectRole"));
|
||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("description");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("id");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "id"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("name");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-136
@@ -1,136 +0,0 @@
|
||||
/**
|
||||
* RemoteProjectRoleActors.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteProjectRoleActors extends RemoteRoleActors
|
||||
implements java.io.Serializable {
|
||||
private RemoteProject project;
|
||||
|
||||
public RemoteProjectRoleActors() {
|
||||
}
|
||||
|
||||
public RemoteProjectRoleActors(
|
||||
RemoteProjectRole projectRole,
|
||||
RemoteRoleActor[] roleActors,
|
||||
RemoteUser[] users,
|
||||
RemoteProject project) {
|
||||
super(
|
||||
projectRole,
|
||||
roleActors,
|
||||
users);
|
||||
this.project = project;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the project value for this RemoteProjectRoleActors.
|
||||
*
|
||||
* @return project
|
||||
*/
|
||||
public RemoteProject getProject() {
|
||||
return project;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the project value for this RemoteProjectRoleActors.
|
||||
*
|
||||
* @param project
|
||||
*/
|
||||
public void setProject(RemoteProject project) {
|
||||
this.project = project;
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteProjectRoleActors)) {
|
||||
return false;
|
||||
}
|
||||
RemoteProjectRoleActors other = (RemoteProjectRoleActors) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = super.equals(obj) &&
|
||||
((this.project == null && other.getProject() == null) ||
|
||||
(this.project != null &&
|
||||
this.project.equals(other.getProject())));
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = super.hashCode();
|
||||
if (getProject() != null) {
|
||||
_hashCode += getProject().hashCode();
|
||||
}
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteProjectRoleActors.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(
|
||||
new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProjectRoleActors"));
|
||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("project");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "project"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProject"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-101
@@ -1,101 +0,0 @@
|
||||
/**
|
||||
* RemoteResolution.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteResolution extends AbstractRemoteConstant
|
||||
implements java.io.Serializable {
|
||||
public RemoteResolution() {
|
||||
}
|
||||
|
||||
public RemoteResolution(
|
||||
String id,
|
||||
String name,
|
||||
String description,
|
||||
String icon) {
|
||||
super(
|
||||
id,
|
||||
name,
|
||||
description,
|
||||
icon);
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteResolution)) {
|
||||
return false;
|
||||
}
|
||||
RemoteResolution other = (RemoteResolution) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = super.equals(obj);
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = super.hashCode();
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteResolution.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteResolution"));
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-279
@@ -1,279 +0,0 @@
|
||||
/**
|
||||
* RemoteRoleActor.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteRoleActor implements java.io.Serializable {
|
||||
private String descriptor;
|
||||
|
||||
private String parameter;
|
||||
|
||||
private RemoteProjectRole projectRole;
|
||||
|
||||
private String type;
|
||||
|
||||
private RemoteUser[] users;
|
||||
|
||||
public RemoteRoleActor() {
|
||||
}
|
||||
|
||||
public RemoteRoleActor(
|
||||
String descriptor,
|
||||
String parameter,
|
||||
RemoteProjectRole projectRole,
|
||||
String type,
|
||||
RemoteUser[] users) {
|
||||
this.descriptor = descriptor;
|
||||
this.parameter = parameter;
|
||||
this.projectRole = projectRole;
|
||||
this.type = type;
|
||||
this.users = users;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the descriptor value for this RemoteRoleActor.
|
||||
*
|
||||
* @return descriptor
|
||||
*/
|
||||
public String getDescriptor() {
|
||||
return descriptor;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the descriptor value for this RemoteRoleActor.
|
||||
*
|
||||
* @param descriptor
|
||||
*/
|
||||
public void setDescriptor(String descriptor) {
|
||||
this.descriptor = descriptor;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the parameter value for this RemoteRoleActor.
|
||||
*
|
||||
* @return parameter
|
||||
*/
|
||||
public String getParameter() {
|
||||
return parameter;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the parameter value for this RemoteRoleActor.
|
||||
*
|
||||
* @param parameter
|
||||
*/
|
||||
public void setParameter(String parameter) {
|
||||
this.parameter = parameter;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the projectRole value for this RemoteRoleActor.
|
||||
*
|
||||
* @return projectRole
|
||||
*/
|
||||
public RemoteProjectRole getProjectRole() {
|
||||
return projectRole;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the projectRole value for this RemoteRoleActor.
|
||||
*
|
||||
* @param projectRole
|
||||
*/
|
||||
public void setProjectRole(RemoteProjectRole projectRole) {
|
||||
this.projectRole = projectRole;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the type value for this RemoteRoleActor.
|
||||
*
|
||||
* @return type
|
||||
*/
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the type value for this RemoteRoleActor.
|
||||
*
|
||||
* @param type
|
||||
*/
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the users value for this RemoteRoleActor.
|
||||
*
|
||||
* @return users
|
||||
*/
|
||||
public RemoteUser[] getUsers() {
|
||||
return users;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the users value for this RemoteRoleActor.
|
||||
*
|
||||
* @param users
|
||||
*/
|
||||
public void setUsers(RemoteUser[] users) {
|
||||
this.users = users;
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteRoleActor)) {
|
||||
return false;
|
||||
}
|
||||
RemoteRoleActor other = (RemoteRoleActor) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = true &&
|
||||
((this.descriptor == null && other.getDescriptor() == null) ||
|
||||
(this.descriptor != null &&
|
||||
this.descriptor.equals(other.getDescriptor()))) &&
|
||||
((this.parameter == null && other.getParameter() == null) ||
|
||||
(this.parameter != null &&
|
||||
this.parameter.equals(other.getParameter()))) &&
|
||||
((this.projectRole == null && other.getProjectRole() == null) ||
|
||||
(this.projectRole != null &&
|
||||
this.projectRole.equals(other.getProjectRole()))) &&
|
||||
((this.type == null && other.getType() == null) ||
|
||||
(this.type != null &&
|
||||
this.type.equals(other.getType()))) &&
|
||||
((this.users == null && other.getUsers() == null) ||
|
||||
(this.users != null &&
|
||||
java.util.Arrays.equals(this.users, other.getUsers())));
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = 1;
|
||||
if (getDescriptor() != null) {
|
||||
_hashCode += getDescriptor().hashCode();
|
||||
}
|
||||
if (getParameter() != null) {
|
||||
_hashCode += getParameter().hashCode();
|
||||
}
|
||||
if (getProjectRole() != null) {
|
||||
_hashCode += getProjectRole().hashCode();
|
||||
}
|
||||
if (getType() != null) {
|
||||
_hashCode += getType().hashCode();
|
||||
}
|
||||
if (getUsers() != null) {
|
||||
for (int i = 0;
|
||||
i < java.lang.reflect.Array.getLength(getUsers());
|
||||
i++) {
|
||||
Object obj = java.lang.reflect.Array.get(getUsers(), i);
|
||||
if (obj != null &&
|
||||
!obj.getClass().isArray()) {
|
||||
_hashCode += obj.hashCode();
|
||||
}
|
||||
}
|
||||
}
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteRoleActor.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteRoleActor"));
|
||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("descriptor");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "descriptor"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("parameter");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "parameter"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("projectRole");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "projectRole"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProjectRole"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("type");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "type"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("users");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "users"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteUser"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-215
@@ -1,215 +0,0 @@
|
||||
/**
|
||||
* RemoteRoleActors.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteRoleActors implements java.io.Serializable {
|
||||
private RemoteProjectRole projectRole;
|
||||
|
||||
private RemoteRoleActor[] roleActors;
|
||||
|
||||
private RemoteUser[] users;
|
||||
|
||||
public RemoteRoleActors() {
|
||||
}
|
||||
|
||||
public RemoteRoleActors(
|
||||
RemoteProjectRole projectRole,
|
||||
RemoteRoleActor[] roleActors,
|
||||
RemoteUser[] users) {
|
||||
this.projectRole = projectRole;
|
||||
this.roleActors = roleActors;
|
||||
this.users = users;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the projectRole value for this RemoteRoleActors.
|
||||
*
|
||||
* @return projectRole
|
||||
*/
|
||||
public RemoteProjectRole getProjectRole() {
|
||||
return projectRole;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the projectRole value for this RemoteRoleActors.
|
||||
*
|
||||
* @param projectRole
|
||||
*/
|
||||
public void setProjectRole(RemoteProjectRole projectRole) {
|
||||
this.projectRole = projectRole;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the roleActors value for this RemoteRoleActors.
|
||||
*
|
||||
* @return roleActors
|
||||
*/
|
||||
public RemoteRoleActor[] getRoleActors() {
|
||||
return roleActors;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the roleActors value for this RemoteRoleActors.
|
||||
*
|
||||
* @param roleActors
|
||||
*/
|
||||
public void setRoleActors(RemoteRoleActor[] roleActors) {
|
||||
this.roleActors = roleActors;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the users value for this RemoteRoleActors.
|
||||
*
|
||||
* @return users
|
||||
*/
|
||||
public RemoteUser[] getUsers() {
|
||||
return users;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the users value for this RemoteRoleActors.
|
||||
*
|
||||
* @param users
|
||||
*/
|
||||
public void setUsers(RemoteUser[] users) {
|
||||
this.users = users;
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteRoleActors)) {
|
||||
return false;
|
||||
}
|
||||
RemoteRoleActors other = (RemoteRoleActors) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = true &&
|
||||
((this.projectRole == null && other.getProjectRole() == null) ||
|
||||
(this.projectRole != null &&
|
||||
this.projectRole.equals(other.getProjectRole()))) &&
|
||||
((this.roleActors == null && other.getRoleActors() == null) ||
|
||||
(this.roleActors != null &&
|
||||
java.util.Arrays.equals(this.roleActors, other.getRoleActors()))) &&
|
||||
((this.users == null && other.getUsers() == null) ||
|
||||
(this.users != null &&
|
||||
java.util.Arrays.equals(this.users, other.getUsers())));
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = 1;
|
||||
if (getProjectRole() != null) {
|
||||
_hashCode += getProjectRole().hashCode();
|
||||
}
|
||||
if (getRoleActors() != null) {
|
||||
for (int i = 0;
|
||||
i < java.lang.reflect.Array.getLength(getRoleActors());
|
||||
i++) {
|
||||
Object obj = java.lang.reflect.Array.get(getRoleActors(), i);
|
||||
if (obj != null &&
|
||||
!obj.getClass().isArray()) {
|
||||
_hashCode += obj.hashCode();
|
||||
}
|
||||
}
|
||||
}
|
||||
if (getUsers() != null) {
|
||||
for (int i = 0;
|
||||
i < java.lang.reflect.Array.getLength(getUsers());
|
||||
i++) {
|
||||
Object obj = java.lang.reflect.Array.get(getUsers(), i);
|
||||
if (obj != null &&
|
||||
!obj.getClass().isArray()) {
|
||||
_hashCode += obj.hashCode();
|
||||
}
|
||||
}
|
||||
}
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteRoleActors.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteRoleActors"));
|
||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("projectRole");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "projectRole"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProjectRole"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("roleActors");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "roleActors"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteRoleActor"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("users");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "users"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteUser"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-235
@@ -1,235 +0,0 @@
|
||||
/**
|
||||
* RemoteScheme.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteScheme implements java.io.Serializable {
|
||||
private String description;
|
||||
|
||||
private Long id;
|
||||
|
||||
private String name;
|
||||
|
||||
private String type;
|
||||
|
||||
public RemoteScheme() {
|
||||
}
|
||||
|
||||
public RemoteScheme(
|
||||
String description,
|
||||
Long id,
|
||||
String name,
|
||||
String type) {
|
||||
this.description = description;
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the description value for this RemoteScheme.
|
||||
*
|
||||
* @return description
|
||||
*/
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the description value for this RemoteScheme.
|
||||
*
|
||||
* @param description
|
||||
*/
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the id value for this RemoteScheme.
|
||||
*
|
||||
* @return id
|
||||
*/
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the id value for this RemoteScheme.
|
||||
*
|
||||
* @param id
|
||||
*/
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the name value for this RemoteScheme.
|
||||
*
|
||||
* @return name
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the name value for this RemoteScheme.
|
||||
*
|
||||
* @param name
|
||||
*/
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the type value for this RemoteScheme.
|
||||
*
|
||||
* @return type
|
||||
*/
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the type value for this RemoteScheme.
|
||||
*
|
||||
* @param type
|
||||
*/
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteScheme)) {
|
||||
return false;
|
||||
}
|
||||
RemoteScheme other = (RemoteScheme) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = true &&
|
||||
((this.description == null && other.getDescription() == null) ||
|
||||
(this.description != null &&
|
||||
this.description.equals(other.getDescription()))) &&
|
||||
((this.id == null && other.getId() == null) ||
|
||||
(this.id != null &&
|
||||
this.id.equals(other.getId()))) &&
|
||||
((this.name == null && other.getName() == null) ||
|
||||
(this.name != null &&
|
||||
this.name.equals(other.getName()))) &&
|
||||
((this.type == null && other.getType() == null) ||
|
||||
(this.type != null &&
|
||||
this.type.equals(other.getType())));
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = 1;
|
||||
if (getDescription() != null) {
|
||||
_hashCode += getDescription().hashCode();
|
||||
}
|
||||
if (getId() != null) {
|
||||
_hashCode += getId().hashCode();
|
||||
}
|
||||
if (getName() != null) {
|
||||
_hashCode += getName().hashCode();
|
||||
}
|
||||
if (getType() != null) {
|
||||
_hashCode += getType().hashCode();
|
||||
}
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteScheme.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteScheme"));
|
||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("description");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("id");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "id"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("name");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("type");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "type"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-133
@@ -1,133 +0,0 @@
|
||||
/**
|
||||
* RemoteSecurityLevel.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteSecurityLevel extends AbstractNamedRemoteEntity
|
||||
implements java.io.Serializable {
|
||||
private String description;
|
||||
|
||||
public RemoteSecurityLevel() {
|
||||
}
|
||||
|
||||
public RemoteSecurityLevel(
|
||||
String id,
|
||||
String name,
|
||||
String description) {
|
||||
super(
|
||||
id,
|
||||
name);
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the description value for this RemoteSecurityLevel.
|
||||
*
|
||||
* @return description
|
||||
*/
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the description value for this RemoteSecurityLevel.
|
||||
*
|
||||
* @param description
|
||||
*/
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteSecurityLevel)) {
|
||||
return false;
|
||||
}
|
||||
RemoteSecurityLevel other = (RemoteSecurityLevel) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = super.equals(obj) &&
|
||||
((this.description == null && other.getDescription() == null) ||
|
||||
(this.description != null &&
|
||||
this.description.equals(other.getDescription())));
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = super.hashCode();
|
||||
if (getDescription() != null) {
|
||||
_hashCode += getDescription().hashCode();
|
||||
}
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteSecurityLevel.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteSecurityLevel"));
|
||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("description");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-307
@@ -1,307 +0,0 @@
|
||||
/**
|
||||
* RemoteServerInfo.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteServerInfo implements java.io.Serializable {
|
||||
private String baseUrl;
|
||||
|
||||
private java.util.Calendar buildDate;
|
||||
|
||||
private String buildNumber;
|
||||
|
||||
private String edition;
|
||||
|
||||
private RemoteTimeInfo serverTime;
|
||||
|
||||
private String version;
|
||||
|
||||
public RemoteServerInfo() {
|
||||
}
|
||||
|
||||
public RemoteServerInfo(
|
||||
String baseUrl,
|
||||
java.util.Calendar buildDate,
|
||||
String buildNumber,
|
||||
String edition,
|
||||
RemoteTimeInfo serverTime,
|
||||
String version) {
|
||||
this.baseUrl = baseUrl;
|
||||
this.buildDate = buildDate;
|
||||
this.buildNumber = buildNumber;
|
||||
this.edition = edition;
|
||||
this.serverTime = serverTime;
|
||||
this.version = version;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the baseUrl value for this RemoteServerInfo.
|
||||
*
|
||||
* @return baseUrl
|
||||
*/
|
||||
public String getBaseUrl() {
|
||||
return baseUrl;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the baseUrl value for this RemoteServerInfo.
|
||||
*
|
||||
* @param baseUrl
|
||||
*/
|
||||
public void setBaseUrl(String baseUrl) {
|
||||
this.baseUrl = baseUrl;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the buildDate value for this RemoteServerInfo.
|
||||
*
|
||||
* @return buildDate
|
||||
*/
|
||||
public java.util.Calendar getBuildDate() {
|
||||
return buildDate;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the buildDate value for this RemoteServerInfo.
|
||||
*
|
||||
* @param buildDate
|
||||
*/
|
||||
public void setBuildDate(java.util.Calendar buildDate) {
|
||||
this.buildDate = buildDate;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the buildNumber value for this RemoteServerInfo.
|
||||
*
|
||||
* @return buildNumber
|
||||
*/
|
||||
public String getBuildNumber() {
|
||||
return buildNumber;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the buildNumber value for this RemoteServerInfo.
|
||||
*
|
||||
* @param buildNumber
|
||||
*/
|
||||
public void setBuildNumber(String buildNumber) {
|
||||
this.buildNumber = buildNumber;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the edition value for this RemoteServerInfo.
|
||||
*
|
||||
* @return edition
|
||||
*/
|
||||
public String getEdition() {
|
||||
return edition;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the edition value for this RemoteServerInfo.
|
||||
*
|
||||
* @param edition
|
||||
*/
|
||||
public void setEdition(String edition) {
|
||||
this.edition = edition;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the serverTime value for this RemoteServerInfo.
|
||||
*
|
||||
* @return serverTime
|
||||
*/
|
||||
public RemoteTimeInfo getServerTime() {
|
||||
return serverTime;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the serverTime value for this RemoteServerInfo.
|
||||
*
|
||||
* @param serverTime
|
||||
*/
|
||||
public void setServerTime(RemoteTimeInfo serverTime) {
|
||||
this.serverTime = serverTime;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the version value for this RemoteServerInfo.
|
||||
*
|
||||
* @return version
|
||||
*/
|
||||
public String getVersion() {
|
||||
return version;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the version value for this RemoteServerInfo.
|
||||
*
|
||||
* @param version
|
||||
*/
|
||||
public void setVersion(String version) {
|
||||
this.version = version;
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteServerInfo)) {
|
||||
return false;
|
||||
}
|
||||
RemoteServerInfo other = (RemoteServerInfo) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = true &&
|
||||
((this.baseUrl == null && other.getBaseUrl() == null) ||
|
||||
(this.baseUrl != null &&
|
||||
this.baseUrl.equals(other.getBaseUrl()))) &&
|
||||
((this.buildDate == null && other.getBuildDate() == null) ||
|
||||
(this.buildDate != null &&
|
||||
this.buildDate.equals(other.getBuildDate()))) &&
|
||||
((this.buildNumber == null && other.getBuildNumber() == null) ||
|
||||
(this.buildNumber != null &&
|
||||
this.buildNumber.equals(other.getBuildNumber()))) &&
|
||||
((this.edition == null && other.getEdition() == null) ||
|
||||
(this.edition != null &&
|
||||
this.edition.equals(other.getEdition()))) &&
|
||||
((this.serverTime == null && other.getServerTime() == null) ||
|
||||
(this.serverTime != null &&
|
||||
this.serverTime.equals(other.getServerTime()))) &&
|
||||
((this.version == null && other.getVersion() == null) ||
|
||||
(this.version != null &&
|
||||
this.version.equals(other.getVersion())));
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = 1;
|
||||
if (getBaseUrl() != null) {
|
||||
_hashCode += getBaseUrl().hashCode();
|
||||
}
|
||||
if (getBuildDate() != null) {
|
||||
_hashCode += getBuildDate().hashCode();
|
||||
}
|
||||
if (getBuildNumber() != null) {
|
||||
_hashCode += getBuildNumber().hashCode();
|
||||
}
|
||||
if (getEdition() != null) {
|
||||
_hashCode += getEdition().hashCode();
|
||||
}
|
||||
if (getServerTime() != null) {
|
||||
_hashCode += getServerTime().hashCode();
|
||||
}
|
||||
if (getVersion() != null) {
|
||||
_hashCode += getVersion().hashCode();
|
||||
}
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteServerInfo.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteServerInfo"));
|
||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("baseUrl");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "baseUrl"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("buildDate");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "buildDate"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("buildNumber");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "buildNumber"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("edition");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "edition"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("serverTime");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "serverTime"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteTimeInfo"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("version");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "version"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-101
@@ -1,101 +0,0 @@
|
||||
/**
|
||||
* RemoteStatus.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteStatus extends AbstractRemoteConstant
|
||||
implements java.io.Serializable {
|
||||
public RemoteStatus() {
|
||||
}
|
||||
|
||||
public RemoteStatus(
|
||||
String id,
|
||||
String name,
|
||||
String description,
|
||||
String icon) {
|
||||
super(
|
||||
id,
|
||||
name,
|
||||
description,
|
||||
icon);
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteStatus)) {
|
||||
return false;
|
||||
}
|
||||
RemoteStatus other = (RemoteStatus) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = super.equals(obj);
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = super.hashCode();
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteStatus.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteStatus"));
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-163
@@ -1,163 +0,0 @@
|
||||
/**
|
||||
* RemoteTimeInfo.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteTimeInfo implements java.io.Serializable {
|
||||
private String serverTime;
|
||||
|
||||
private String timeZoneId;
|
||||
|
||||
public RemoteTimeInfo() {
|
||||
}
|
||||
|
||||
public RemoteTimeInfo(
|
||||
String serverTime,
|
||||
String timeZoneId) {
|
||||
this.serverTime = serverTime;
|
||||
this.timeZoneId = timeZoneId;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the serverTime value for this RemoteTimeInfo.
|
||||
*
|
||||
* @return serverTime
|
||||
*/
|
||||
public String getServerTime() {
|
||||
return serverTime;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the serverTime value for this RemoteTimeInfo.
|
||||
*
|
||||
* @param serverTime
|
||||
*/
|
||||
public void setServerTime(String serverTime) {
|
||||
this.serverTime = serverTime;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the timeZoneId value for this RemoteTimeInfo.
|
||||
*
|
||||
* @return timeZoneId
|
||||
*/
|
||||
public String getTimeZoneId() {
|
||||
return timeZoneId;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the timeZoneId value for this RemoteTimeInfo.
|
||||
*
|
||||
* @param timeZoneId
|
||||
*/
|
||||
public void setTimeZoneId(String timeZoneId) {
|
||||
this.timeZoneId = timeZoneId;
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteTimeInfo)) {
|
||||
return false;
|
||||
}
|
||||
RemoteTimeInfo other = (RemoteTimeInfo) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = true &&
|
||||
((this.serverTime == null && other.getServerTime() == null) ||
|
||||
(this.serverTime != null &&
|
||||
this.serverTime.equals(other.getServerTime()))) &&
|
||||
((this.timeZoneId == null && other.getTimeZoneId() == null) ||
|
||||
(this.timeZoneId != null &&
|
||||
this.timeZoneId.equals(other.getTimeZoneId())));
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = 1;
|
||||
if (getServerTime() != null) {
|
||||
_hashCode += getServerTime().hashCode();
|
||||
}
|
||||
if (getTimeZoneId() != null) {
|
||||
_hashCode += getTimeZoneId().hashCode();
|
||||
}
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteTimeInfo.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteTimeInfo"));
|
||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("serverTime");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "serverTime"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("timeZoneId");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "timeZoneId"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-199
@@ -1,199 +0,0 @@
|
||||
/**
|
||||
* RemoteUser.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteUser extends RemoteEntity implements java.io.Serializable {
|
||||
private String email;
|
||||
|
||||
private String fullname;
|
||||
|
||||
private String name;
|
||||
|
||||
public RemoteUser() {
|
||||
}
|
||||
|
||||
public RemoteUser(
|
||||
String email,
|
||||
String fullname,
|
||||
String name) {
|
||||
this.email = email;
|
||||
this.fullname = fullname;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the email value for this RemoteUser.
|
||||
*
|
||||
* @return email
|
||||
*/
|
||||
public String getEmail() {
|
||||
return email;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the email value for this RemoteUser.
|
||||
*
|
||||
* @param email
|
||||
*/
|
||||
public void setEmail(String email) {
|
||||
this.email = email;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the fullname value for this RemoteUser.
|
||||
*
|
||||
* @return fullname
|
||||
*/
|
||||
public String getFullname() {
|
||||
return fullname;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the fullname value for this RemoteUser.
|
||||
*
|
||||
* @param fullname
|
||||
*/
|
||||
public void setFullname(String fullname) {
|
||||
this.fullname = fullname;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the name value for this RemoteUser.
|
||||
*
|
||||
* @return name
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the name value for this RemoteUser.
|
||||
*
|
||||
* @param name
|
||||
*/
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteUser)) {
|
||||
return false;
|
||||
}
|
||||
RemoteUser other = (RemoteUser) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = super.equals(obj) &&
|
||||
((this.email == null && other.getEmail() == null) ||
|
||||
(this.email != null &&
|
||||
this.email.equals(other.getEmail()))) &&
|
||||
((this.fullname == null && other.getFullname() == null) ||
|
||||
(this.fullname != null &&
|
||||
this.fullname.equals(other.getFullname()))) &&
|
||||
((this.name == null && other.getName() == null) ||
|
||||
(this.name != null &&
|
||||
this.name.equals(other.getName())));
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = super.hashCode();
|
||||
if (getEmail() != null) {
|
||||
_hashCode += getEmail().hashCode();
|
||||
}
|
||||
if (getFullname() != null) {
|
||||
_hashCode += getFullname().hashCode();
|
||||
}
|
||||
if (getName() != null) {
|
||||
_hashCode += getName().hashCode();
|
||||
}
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteUser.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteUser"));
|
||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("email");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "email"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("fullname");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "fullname"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("name");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-98
@@ -1,98 +0,0 @@
|
||||
/**
|
||||
* RemoteValidationException.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteValidationException extends RemoteException
|
||||
implements java.io.Serializable {
|
||||
public RemoteValidationException() {
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteValidationException)) {
|
||||
return false;
|
||||
}
|
||||
RemoteValidationException other = (RemoteValidationException) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = super.equals(obj);
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = super.hashCode();
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteValidationException.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(
|
||||
new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"));
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Writes the exception data to the faultDetails
|
||||
*/
|
||||
public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context)
|
||||
throws java.io.IOException {
|
||||
context.serialize(qname, null, this);
|
||||
}
|
||||
}
|
||||
-233
@@ -1,233 +0,0 @@
|
||||
/**
|
||||
* RemoteVersion.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteVersion extends AbstractNamedRemoteEntity
|
||||
implements java.io.Serializable {
|
||||
private boolean archived;
|
||||
|
||||
private java.util.Calendar releaseDate;
|
||||
|
||||
private boolean released;
|
||||
|
||||
private Long sequence;
|
||||
|
||||
public RemoteVersion() {
|
||||
}
|
||||
|
||||
public RemoteVersion(
|
||||
String id,
|
||||
String name,
|
||||
boolean archived,
|
||||
java.util.Calendar releaseDate,
|
||||
boolean released,
|
||||
Long sequence) {
|
||||
super(
|
||||
id,
|
||||
name);
|
||||
this.archived = archived;
|
||||
this.releaseDate = releaseDate;
|
||||
this.released = released;
|
||||
this.sequence = sequence;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the archived value for this RemoteVersion.
|
||||
*
|
||||
* @return archived
|
||||
*/
|
||||
public boolean isArchived() {
|
||||
return archived;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the archived value for this RemoteVersion.
|
||||
*
|
||||
* @param archived
|
||||
*/
|
||||
public void setArchived(boolean archived) {
|
||||
this.archived = archived;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the releaseDate value for this RemoteVersion.
|
||||
*
|
||||
* @return releaseDate
|
||||
*/
|
||||
public java.util.Calendar getReleaseDate() {
|
||||
return releaseDate;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the releaseDate value for this RemoteVersion.
|
||||
*
|
||||
* @param releaseDate
|
||||
*/
|
||||
public void setReleaseDate(java.util.Calendar releaseDate) {
|
||||
this.releaseDate = releaseDate;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the released value for this RemoteVersion.
|
||||
*
|
||||
* @return released
|
||||
*/
|
||||
public boolean isReleased() {
|
||||
return released;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the released value for this RemoteVersion.
|
||||
*
|
||||
* @param released
|
||||
*/
|
||||
public void setReleased(boolean released) {
|
||||
this.released = released;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the sequence value for this RemoteVersion.
|
||||
*
|
||||
* @return sequence
|
||||
*/
|
||||
public Long getSequence() {
|
||||
return sequence;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the sequence value for this RemoteVersion.
|
||||
*
|
||||
* @param sequence
|
||||
*/
|
||||
public void setSequence(Long sequence) {
|
||||
this.sequence = sequence;
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteVersion)) {
|
||||
return false;
|
||||
}
|
||||
RemoteVersion other = (RemoteVersion) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = super.equals(obj) &&
|
||||
this.archived == other.isArchived() &&
|
||||
((this.releaseDate == null && other.getReleaseDate() == null) ||
|
||||
(this.releaseDate != null &&
|
||||
this.releaseDate.equals(other.getReleaseDate()))) &&
|
||||
this.released == other.isReleased() &&
|
||||
((this.sequence == null && other.getSequence() == null) ||
|
||||
(this.sequence != null &&
|
||||
this.sequence.equals(other.getSequence())));
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = super.hashCode();
|
||||
_hashCode += (isArchived() ? Boolean.TRUE : Boolean.FALSE).hashCode();
|
||||
if (getReleaseDate() != null) {
|
||||
_hashCode += getReleaseDate().hashCode();
|
||||
}
|
||||
_hashCode += (isReleased() ? Boolean.TRUE : Boolean.FALSE).hashCode();
|
||||
if (getSequence() != null) {
|
||||
_hashCode += getSequence().hashCode();
|
||||
}
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteVersion.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteVersion"));
|
||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("archived");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "archived"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
|
||||
elemField.setNillable(false);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("releaseDate");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "releaseDate"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("released");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "released"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
|
||||
elemField.setNillable(false);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("sequence");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "sequence"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-483
@@ -1,483 +0,0 @@
|
||||
/**
|
||||
* RemoteWorklog.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
||||
*/
|
||||
|
||||
package com.atlassian.connector.commons.jira.soap.axis;
|
||||
|
||||
public class RemoteWorklog implements java.io.Serializable {
|
||||
private String author;
|
||||
|
||||
private String comment;
|
||||
|
||||
private java.util.Calendar created;
|
||||
|
||||
private String groupLevel;
|
||||
|
||||
private String id;
|
||||
|
||||
private String roleLevelId;
|
||||
|
||||
private java.util.Calendar startDate;
|
||||
|
||||
private String timeSpent;
|
||||
|
||||
private long timeSpentInSeconds;
|
||||
|
||||
private String updateAuthor;
|
||||
|
||||
private java.util.Calendar updated;
|
||||
|
||||
public RemoteWorklog() {
|
||||
}
|
||||
|
||||
public RemoteWorklog(
|
||||
String author,
|
||||
String comment,
|
||||
java.util.Calendar created,
|
||||
String groupLevel,
|
||||
String id,
|
||||
String roleLevelId,
|
||||
java.util.Calendar startDate,
|
||||
String timeSpent,
|
||||
long timeSpentInSeconds,
|
||||
String updateAuthor,
|
||||
java.util.Calendar updated) {
|
||||
this.author = author;
|
||||
this.comment = comment;
|
||||
this.created = created;
|
||||
this.groupLevel = groupLevel;
|
||||
this.id = id;
|
||||
this.roleLevelId = roleLevelId;
|
||||
this.startDate = startDate;
|
||||
this.timeSpent = timeSpent;
|
||||
this.timeSpentInSeconds = timeSpentInSeconds;
|
||||
this.updateAuthor = updateAuthor;
|
||||
this.updated = updated;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the author value for this RemoteWorklog.
|
||||
*
|
||||
* @return author
|
||||
*/
|
||||
public String getAuthor() {
|
||||
return author;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the author value for this RemoteWorklog.
|
||||
*
|
||||
* @param author
|
||||
*/
|
||||
public void setAuthor(String author) {
|
||||
this.author = author;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the comment value for this RemoteWorklog.
|
||||
*
|
||||
* @return comment
|
||||
*/
|
||||
public String getComment() {
|
||||
return comment;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the comment value for this RemoteWorklog.
|
||||
*
|
||||
* @param comment
|
||||
*/
|
||||
public void setComment(String comment) {
|
||||
this.comment = comment;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the created value for this RemoteWorklog.
|
||||
*
|
||||
* @return created
|
||||
*/
|
||||
public java.util.Calendar getCreated() {
|
||||
return created;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the created value for this RemoteWorklog.
|
||||
*
|
||||
* @param created
|
||||
*/
|
||||
public void setCreated(java.util.Calendar created) {
|
||||
this.created = created;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the groupLevel value for this RemoteWorklog.
|
||||
*
|
||||
* @return groupLevel
|
||||
*/
|
||||
public String getGroupLevel() {
|
||||
return groupLevel;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the groupLevel value for this RemoteWorklog.
|
||||
*
|
||||
* @param groupLevel
|
||||
*/
|
||||
public void setGroupLevel(String groupLevel) {
|
||||
this.groupLevel = groupLevel;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the id value for this RemoteWorklog.
|
||||
*
|
||||
* @return id
|
||||
*/
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the id value for this RemoteWorklog.
|
||||
*
|
||||
* @param id
|
||||
*/
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the roleLevelId value for this RemoteWorklog.
|
||||
*
|
||||
* @return roleLevelId
|
||||
*/
|
||||
public String getRoleLevelId() {
|
||||
return roleLevelId;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the roleLevelId value for this RemoteWorklog.
|
||||
*
|
||||
* @param roleLevelId
|
||||
*/
|
||||
public void setRoleLevelId(String roleLevelId) {
|
||||
this.roleLevelId = roleLevelId;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the startDate value for this RemoteWorklog.
|
||||
*
|
||||
* @return startDate
|
||||
*/
|
||||
public java.util.Calendar getStartDate() {
|
||||
return startDate;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the startDate value for this RemoteWorklog.
|
||||
*
|
||||
* @param startDate
|
||||
*/
|
||||
public void setStartDate(java.util.Calendar startDate) {
|
||||
this.startDate = startDate;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the timeSpent value for this RemoteWorklog.
|
||||
*
|
||||
* @return timeSpent
|
||||
*/
|
||||
public String getTimeSpent() {
|
||||
return timeSpent;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the timeSpent value for this RemoteWorklog.
|
||||
*
|
||||
* @param timeSpent
|
||||
*/
|
||||
public void setTimeSpent(String timeSpent) {
|
||||
this.timeSpent = timeSpent;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the timeSpentInSeconds value for this RemoteWorklog.
|
||||
*
|
||||
* @return timeSpentInSeconds
|
||||
*/
|
||||
public long getTimeSpentInSeconds() {
|
||||
return timeSpentInSeconds;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the timeSpentInSeconds value for this RemoteWorklog.
|
||||
*
|
||||
* @param timeSpentInSeconds
|
||||
*/
|
||||
public void setTimeSpentInSeconds(long timeSpentInSeconds) {
|
||||
this.timeSpentInSeconds = timeSpentInSeconds;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the updateAuthor value for this RemoteWorklog.
|
||||
*
|
||||
* @return updateAuthor
|
||||
*/
|
||||
public String getUpdateAuthor() {
|
||||
return updateAuthor;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the updateAuthor value for this RemoteWorklog.
|
||||
*
|
||||
* @param updateAuthor
|
||||
*/
|
||||
public void setUpdateAuthor(String updateAuthor) {
|
||||
this.updateAuthor = updateAuthor;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the updated value for this RemoteWorklog.
|
||||
*
|
||||
* @return updated
|
||||
*/
|
||||
public java.util.Calendar getUpdated() {
|
||||
return updated;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the updated value for this RemoteWorklog.
|
||||
*
|
||||
* @param updated
|
||||
*/
|
||||
public void setUpdated(java.util.Calendar updated) {
|
||||
this.updated = updated;
|
||||
}
|
||||
|
||||
private Object __equalsCalc = null;
|
||||
|
||||
public synchronized boolean equals(Object obj) {
|
||||
if (!(obj instanceof RemoteWorklog)) {
|
||||
return false;
|
||||
}
|
||||
RemoteWorklog other = (RemoteWorklog) obj;
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (__equalsCalc != null) {
|
||||
return (__equalsCalc == obj);
|
||||
}
|
||||
__equalsCalc = obj;
|
||||
boolean _equals;
|
||||
_equals = true &&
|
||||
((this.author == null && other.getAuthor() == null) ||
|
||||
(this.author != null &&
|
||||
this.author.equals(other.getAuthor()))) &&
|
||||
((this.comment == null && other.getComment() == null) ||
|
||||
(this.comment != null &&
|
||||
this.comment.equals(other.getComment()))) &&
|
||||
((this.created == null && other.getCreated() == null) ||
|
||||
(this.created != null &&
|
||||
this.created.equals(other.getCreated()))) &&
|
||||
((this.groupLevel == null && other.getGroupLevel() == null) ||
|
||||
(this.groupLevel != null &&
|
||||
this.groupLevel.equals(other.getGroupLevel()))) &&
|
||||
((this.id == null && other.getId() == null) ||
|
||||
(this.id != null &&
|
||||
this.id.equals(other.getId()))) &&
|
||||
((this.roleLevelId == null && other.getRoleLevelId() == null) ||
|
||||
(this.roleLevelId != null &&
|
||||
this.roleLevelId.equals(other.getRoleLevelId()))) &&
|
||||
((this.startDate == null && other.getStartDate() == null) ||
|
||||
(this.startDate != null &&
|
||||
this.startDate.equals(other.getStartDate()))) &&
|
||||
((this.timeSpent == null && other.getTimeSpent() == null) ||
|
||||
(this.timeSpent != null &&
|
||||
this.timeSpent.equals(other.getTimeSpent()))) &&
|
||||
this.timeSpentInSeconds == other.getTimeSpentInSeconds() &&
|
||||
((this.updateAuthor == null && other.getUpdateAuthor() == null) ||
|
||||
(this.updateAuthor != null &&
|
||||
this.updateAuthor.equals(other.getUpdateAuthor()))) &&
|
||||
((this.updated == null && other.getUpdated() == null) ||
|
||||
(this.updated != null &&
|
||||
this.updated.equals(other.getUpdated())));
|
||||
__equalsCalc = null;
|
||||
return _equals;
|
||||
}
|
||||
|
||||
private boolean __hashCodeCalc = false;
|
||||
|
||||
public synchronized int hashCode() {
|
||||
if (__hashCodeCalc) {
|
||||
return 0;
|
||||
}
|
||||
__hashCodeCalc = true;
|
||||
int _hashCode = 1;
|
||||
if (getAuthor() != null) {
|
||||
_hashCode += getAuthor().hashCode();
|
||||
}
|
||||
if (getComment() != null) {
|
||||
_hashCode += getComment().hashCode();
|
||||
}
|
||||
if (getCreated() != null) {
|
||||
_hashCode += getCreated().hashCode();
|
||||
}
|
||||
if (getGroupLevel() != null) {
|
||||
_hashCode += getGroupLevel().hashCode();
|
||||
}
|
||||
if (getId() != null) {
|
||||
_hashCode += getId().hashCode();
|
||||
}
|
||||
if (getRoleLevelId() != null) {
|
||||
_hashCode += getRoleLevelId().hashCode();
|
||||
}
|
||||
if (getStartDate() != null) {
|
||||
_hashCode += getStartDate().hashCode();
|
||||
}
|
||||
if (getTimeSpent() != null) {
|
||||
_hashCode += getTimeSpent().hashCode();
|
||||
}
|
||||
_hashCode += new Long(getTimeSpentInSeconds()).hashCode();
|
||||
if (getUpdateAuthor() != null) {
|
||||
_hashCode += getUpdateAuthor().hashCode();
|
||||
}
|
||||
if (getUpdated() != null) {
|
||||
_hashCode += getUpdated().hashCode();
|
||||
}
|
||||
__hashCodeCalc = false;
|
||||
return _hashCode;
|
||||
}
|
||||
|
||||
// Type metadata
|
||||
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||
new org.apache.axis.description.TypeDesc(RemoteWorklog.class, true);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteWorklog"));
|
||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("author");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "author"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("comment");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "comment"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("created");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "created"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("groupLevel");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "groupLevel"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("id");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "id"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("roleLevelId");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "roleLevelId"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("startDate");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "startDate"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("timeSpent");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "timeSpent"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("timeSpentInSeconds");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "timeSpentInSeconds"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
|
||||
elemField.setNillable(false);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("updateAuthor");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "updateAuthor"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
elemField = new org.apache.axis.description.ElementDesc();
|
||||
elemField.setFieldName("updated");
|
||||
elemField.setXmlName(new javax.xml.namespace.QName("", "updated"));
|
||||
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
|
||||
elemField.setNillable(true);
|
||||
typeDesc.addFieldDesc(elemField);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return type metadata object
|
||||
*/
|
||||
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Serializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Custom Deserializer
|
||||
*/
|
||||
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||
String mechType,
|
||||
Class _javaType,
|
||||
javax.xml.namespace.QName _xmlType) {
|
||||
return
|
||||
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||
_javaType, _xmlType, typeDesc);
|
||||
}
|
||||
|
||||
}
|
||||
-6936
File diff suppressed because it is too large
Load Diff
-73
@@ -1,73 +0,0 @@
|
||||
/**
|
||||
* Copyright (C) 2008 Atlassian
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.atlassian.theplugin.jira.api;
|
||||
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
public abstract class AbstractJIRAConstantBean implements JIRAConstant {
|
||||
protected String name;
|
||||
protected long id;
|
||||
protected URL iconUrl = null;
|
||||
|
||||
public AbstractJIRAConstantBean() {
|
||||
}
|
||||
|
||||
protected AbstractJIRAConstantBean(long id, String name, URL iconUrl) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
this.iconUrl = iconUrl;
|
||||
}
|
||||
|
||||
public AbstractJIRAConstantBean(Map<String, String> map) {
|
||||
name = map.get("name");
|
||||
id = Long.valueOf(map.get("id"));
|
||||
|
||||
if (map.containsKey("icon")) {
|
||||
try {
|
||||
iconUrl = new URL(map.get("icon"));
|
||||
} catch (MalformedURLException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public HashMap<String, String> getMap() {
|
||||
HashMap<String, String> map = new HashMap<String, String>();
|
||||
map.put("name", getName());
|
||||
map.put("id", Long.toString(id));
|
||||
if (iconUrl != null) {
|
||||
map.put("icon", iconUrl.toString());
|
||||
}
|
||||
map.put("filterTypeClass", this.getClass().getName());
|
||||
return map;
|
||||
}
|
||||
|
||||
public long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public URL getIconUrl() {
|
||||
return iconUrl;
|
||||
}
|
||||
}
|
||||
-20
@@ -1,20 +0,0 @@
|
||||
/**
|
||||
* Copyright (C) 2008 Atlassian
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.atlassian.theplugin.jira.api;
|
||||
|
||||
public interface JIRAAction extends JIRAConstant {
|
||||
}
|
||||
-40
@@ -1,40 +0,0 @@
|
||||
/**
|
||||
* Copyright (C) 2008 Atlassian
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.atlassian.theplugin.jira.api;
|
||||
|
||||
public class JIRAActionBean extends AbstractJIRAConstantBean implements JIRAAction {
|
||||
public JIRAActionBean(long id, String name) {
|
||||
super(id, name, null);
|
||||
}
|
||||
|
||||
public JIRAActionBean(JIRAActionBean other) {
|
||||
this(other.id, other.name);
|
||||
}
|
||||
|
||||
public String getQueryStringFragment() {
|
||||
return "action=" + id;
|
||||
}
|
||||
|
||||
public JIRAActionBean getClone() {
|
||||
return new JIRAActionBean(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return name;
|
||||
}
|
||||
}
|
||||
-20
@@ -1,20 +0,0 @@
|
||||
/**
|
||||
* Copyright (C) 2008 Atlassian
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.atlassian.theplugin.jira.api;
|
||||
|
||||
public interface JIRAActionField extends JIRAConstant {
|
||||
}
|
||||
-40
@@ -1,40 +0,0 @@
|
||||
/**
|
||||
* Copyright (C) 2008 Atlassian
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.atlassian.theplugin.jira.api;
|
||||
|
||||
public class JIRAActionFieldBean extends AbstractJIRAConstantBean implements JIRAActionField {
|
||||
private String fieldId;
|
||||
|
||||
public JIRAActionFieldBean(String fieldId, String name) {
|
||||
super(fieldId.hashCode(), name, null);
|
||||
this.fieldId = fieldId;
|
||||
}
|
||||
|
||||
public JIRAActionFieldBean(JIRAActionFieldBean other) {
|
||||
this(other.fieldId, other.name);
|
||||
}
|
||||
|
||||
public String getQueryStringFragment() {
|
||||
// todo: I am almost absolutely sure this is wrong. Once we get
|
||||
// to actually handling action fields, this will have to be fixed
|
||||
return fieldId + "=";
|
||||
}
|
||||
|
||||
public JIRAActionFieldBean getClone() {
|
||||
return new JIRAActionFieldBean(this);
|
||||
}
|
||||
}
|
||||
-45
@@ -1,45 +0,0 @@
|
||||
/**
|
||||
* Copyright (C) 2008 Atlassian
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.atlassian.theplugin.jira.api;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
public class JIRAAssigneeBean extends JIRAUserBean {
|
||||
public JIRAAssigneeBean() {
|
||||
}
|
||||
|
||||
public JIRAAssigneeBean(long id, String name, String value) {
|
||||
super(id, name, value);
|
||||
}
|
||||
|
||||
public JIRAAssigneeBean(Map<String, String> map) {
|
||||
super(map);
|
||||
}
|
||||
|
||||
public JIRAAssigneeBean(JIRAAssigneeBean other) {
|
||||
this(other.getMap());
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getQueryStringFragment() {
|
||||
return "assignee=" + getValue();
|
||||
}
|
||||
|
||||
public JIRAAssigneeBean getClone() {
|
||||
return new JIRAAssigneeBean(this);
|
||||
}
|
||||
}
|
||||
-28
@@ -1,28 +0,0 @@
|
||||
/**
|
||||
* Copyright (C) 2008 Atlassian
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.atlassian.theplugin.jira.api;
|
||||
|
||||
import java.util.Calendar;
|
||||
|
||||
public interface JIRAComment {
|
||||
String getId();
|
||||
String getAuthor();
|
||||
String getAuthorFullName();
|
||||
void setAuthorFullName(String author);
|
||||
String getBody();
|
||||
Calendar getCreationDate();
|
||||
}
|
||||
-58
@@ -1,58 +0,0 @@
|
||||
/**
|
||||
* Copyright (C) 2008 Atlassian
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.atlassian.theplugin.jira.api;
|
||||
|
||||
import java.util.Calendar;
|
||||
|
||||
public class JIRACommentBean implements JIRAComment {
|
||||
private String id;
|
||||
private String author;
|
||||
private String authorFullName;
|
||||
private String body;
|
||||
private Calendar created;
|
||||
|
||||
public JIRACommentBean(String id, String author, String body, Calendar created) {
|
||||
this.id = id;
|
||||
this.author = author;
|
||||
this.authorFullName = author;
|
||||
this.body = body;
|
||||
this.created = created;
|
||||
}
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public String getAuthor() {
|
||||
return author;
|
||||
}
|
||||
|
||||
public void setAuthorFullName(String authorFullName) {
|
||||
this.authorFullName = authorFullName;
|
||||
}
|
||||
|
||||
public String getAuthorFullName() {
|
||||
return authorFullName;
|
||||
}
|
||||
|
||||
public String getBody() {
|
||||
return body;
|
||||
}
|
||||
|
||||
public Calendar getCreationDate() {
|
||||
return created;
|
||||
}
|
||||
}
|
||||
-42
@@ -1,42 +0,0 @@
|
||||
/**
|
||||
* Copyright (C) 2008 Atlassian
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.atlassian.theplugin.jira.api;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
public class JIRAComponentBean extends AbstractJIRAConstantBean {
|
||||
public JIRAComponentBean(Map<String, String> map) {
|
||||
super(map);
|
||||
}
|
||||
|
||||
public JIRAComponentBean(long id, String name) {
|
||||
super(id, name, null);
|
||||
}
|
||||
|
||||
public JIRAComponentBean(JIRAComponentBean other) {
|
||||
this(other.getMap());
|
||||
}
|
||||
|
||||
// returns from this object a fragment of a query string that the IssueNavigator will understand
|
||||
public String getQueryStringFragment() {
|
||||
return "component=" + getId();
|
||||
}
|
||||
|
||||
public JIRAComponentBean getClone() {
|
||||
return new JIRAComponentBean(this);
|
||||
}
|
||||
}
|
||||
-23
@@ -1,23 +0,0 @@
|
||||
/**
|
||||
* Copyright (C) 2008 Atlassian
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.atlassian.theplugin.jira.api;
|
||||
|
||||
import java.net.URL;
|
||||
|
||||
public interface JIRAConstant extends JIRAQueryFragment {
|
||||
URL getIconUrl();
|
||||
}
|
||||
-49
@@ -1,49 +0,0 @@
|
||||
/**
|
||||
* Copyright (C) 2008 Atlassian
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.atlassian.theplugin.jira.api;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
public class JIRAFixForVersionBean extends JIRAVersionBean {
|
||||
|
||||
public JIRAFixForVersionBean(Map<String, String> map) {
|
||||
super(map);
|
||||
}
|
||||
|
||||
public JIRAFixForVersionBean(long id, String name) {
|
||||
super(id, name);
|
||||
}
|
||||
|
||||
public JIRAFixForVersionBean(JIRAFixForVersionBean other) {
|
||||
super(other.getId(), other.getName());
|
||||
}
|
||||
public JIRAFixForVersionBean(JIRAVersionBean other) {
|
||||
super(other.getId(), other.getName());
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getQueryStringFragment() {
|
||||
return "fixfor=" + getId();
|
||||
}
|
||||
|
||||
@Override
|
||||
public JIRAFixForVersionBean getClone() {
|
||||
return new JIRAFixForVersionBean(this);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
-109
@@ -1,109 +0,0 @@
|
||||
/**
|
||||
* Copyright (C) 2008 Atlassian
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.atlassian.theplugin.jira.api;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface JIRAIssue {
|
||||
String getServerUrl();
|
||||
|
||||
String getProjectUrl();
|
||||
|
||||
String getIssueUrl();
|
||||
|
||||
Long getId();
|
||||
|
||||
String getKey();
|
||||
|
||||
String getProjectKey();
|
||||
|
||||
String getStatus();
|
||||
|
||||
String getStatusTypeUrl();
|
||||
|
||||
String getSummary();
|
||||
|
||||
String getType();
|
||||
|
||||
String getTypeIconUrl();
|
||||
|
||||
String getPriority();
|
||||
|
||||
String getPriorityIconUrl();
|
||||
|
||||
String getDescription();
|
||||
|
||||
JIRAConstant getTypeConstant();
|
||||
|
||||
JIRAConstant getStatusConstant();
|
||||
|
||||
JIRAConstant getPriorityConstant();
|
||||
|
||||
String getAssignee();
|
||||
|
||||
String getAssigneeId();
|
||||
|
||||
String getReporter();
|
||||
|
||||
String getReporterId();
|
||||
|
||||
String getResolution();
|
||||
|
||||
String getCreated();
|
||||
|
||||
String getUpdated();
|
||||
|
||||
boolean isSubTask();
|
||||
|
||||
String getParentIssueKey();
|
||||
|
||||
List<String> getSubTaskKeys();
|
||||
|
||||
long getPriorityId();
|
||||
|
||||
long getStatusId();
|
||||
|
||||
long getTypeId();
|
||||
|
||||
void setAssignee(String assignee);
|
||||
|
||||
List<JIRAConstant> getAffectsVersions();
|
||||
|
||||
List<JIRAConstant> getFixVersions();
|
||||
|
||||
List<JIRAConstant> getComponents();
|
||||
|
||||
void setAffectsVersions(List<JIRAConstant> versions);
|
||||
|
||||
void setFixVersions(List<JIRAConstant> versions);
|
||||
|
||||
void setComponents(List<JIRAConstant> components);
|
||||
|
||||
String getOriginalEstimate();
|
||||
|
||||
void setOriginalEstimate(String t);
|
||||
|
||||
String getRemainingEstimate();
|
||||
|
||||
void setRemainingEstimate(String t);
|
||||
|
||||
String getTimeSpent();
|
||||
|
||||
void setTimeSpent(String t);
|
||||
|
||||
List<JIRAComment> getComments();
|
||||
}
|
||||
-487
@@ -1,487 +0,0 @@
|
||||
/**
|
||||
* Copyright (C) 2008 Atlassian
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.atlassian.theplugin.jira.api;
|
||||
|
||||
import org.jdom.Element;
|
||||
|
||||
import java.text.DateFormat;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.*;
|
||||
|
||||
public class JIRAIssueBean implements JIRAIssue {
|
||||
private String serverUrl;
|
||||
private Long id;
|
||||
private String key;
|
||||
private String summary;
|
||||
private String status;
|
||||
private String statusUrl;
|
||||
private String type;
|
||||
private String typeUrl;
|
||||
private String priority;
|
||||
private String priorityUrl;
|
||||
private String description;
|
||||
private String projectKey;
|
||||
private JIRAConstant statusConstant;
|
||||
private JIRAConstant typeConstant;
|
||||
private JIRAConstant priorityConstant;
|
||||
private String assignee;
|
||||
private String assigneeId;
|
||||
private String reporter;
|
||||
private String reporterId;
|
||||
private String resolution;
|
||||
private String created;
|
||||
private String updated;
|
||||
private long statusId;
|
||||
private long priorityId;
|
||||
private long typeId;
|
||||
private List<JIRAConstant> affectsVersions;
|
||||
private List<JIRAConstant> fixVersions;
|
||||
private List<JIRAConstant> components;
|
||||
|
||||
private List<String> subTaskList;
|
||||
private boolean thisIsASubTask;
|
||||
private String parentIssueKey;
|
||||
private String originalEstimate;
|
||||
private String remainingEstimate;
|
||||
private String timeSpent;
|
||||
private List<JIRAComment> commentsList;
|
||||
|
||||
public JIRAIssueBean() {
|
||||
}
|
||||
|
||||
public JIRAIssueBean(String serverUrl) {
|
||||
this.serverUrl = serverUrl;
|
||||
}
|
||||
|
||||
public JIRAIssueBean(JIRAIssue issue) {
|
||||
serverUrl = issue.getServerUrl();
|
||||
id = issue.getId();
|
||||
key = issue.getKey();
|
||||
summary = issue.getSummary();
|
||||
status = issue.getStatus();
|
||||
statusUrl = issue.getStatusTypeUrl();
|
||||
type = issue.getType();
|
||||
typeUrl = issue.getTypeIconUrl();
|
||||
priority = issue.getPriority();
|
||||
priorityUrl = issue.getPriorityIconUrl();
|
||||
description = issue.getDescription();
|
||||
projectKey = issue.getProjectKey();
|
||||
statusConstant = issue.getStatusConstant();
|
||||
typeConstant = issue.getTypeConstant();
|
||||
priorityConstant = issue.getPriorityConstant();
|
||||
assignee = issue.getAssignee();
|
||||
assigneeId = issue.getAssigneeId();
|
||||
reporter = issue.getReporter();
|
||||
reporterId = issue.getReporterId();
|
||||
resolution = issue.getResolution();
|
||||
created = issue.getCreated();
|
||||
updated = issue.getUpdated();
|
||||
statusId = issue.getStatusId();
|
||||
priorityId = issue.getPriorityId();
|
||||
typeId = issue.getTypeId();
|
||||
thisIsASubTask = issue.isSubTask();
|
||||
subTaskList = issue.getSubTaskKeys();
|
||||
parentIssueKey = issue.getParentIssueKey();
|
||||
}
|
||||
|
||||
public JIRAIssueBean(String serverUrl, Element e, boolean getComments) {
|
||||
this.serverUrl = serverUrl;
|
||||
this.summary = getTextSafely(e, "summary");
|
||||
this.key = getTextSafely(e, "key");
|
||||
this.id = new Long(getAttributeSafely(e, "key", "id"));
|
||||
updateProjectKey();
|
||||
this.status = getTextSafely(e, "status");
|
||||
this.statusUrl = getAttributeSafely(e, "status", "iconUrl");
|
||||
try {
|
||||
this.statusId = Long.parseLong(getAttributeSafely(e, "status", "id"));
|
||||
} catch (NumberFormatException ex) {
|
||||
this.statusId = 0;
|
||||
}
|
||||
this.priority = getTextSafely(e, "priority");
|
||||
this.priorityUrl = getAttributeSafely(e, "priority", "iconUrl");
|
||||
try {
|
||||
this.priorityId = Long.parseLong(getAttributeSafely(e, "priority", "id"));
|
||||
} catch (NumberFormatException ex) {
|
||||
this.priorityId = 0;
|
||||
}
|
||||
this.description = getTextSafely(e, "description");
|
||||
this.type = getTextSafely(e, "type");
|
||||
this.typeUrl = getAttributeSafely(e, "type", "iconUrl");
|
||||
try {
|
||||
this.typeId = Long.parseLong(getAttributeSafely(e, "type", "id"));
|
||||
} catch (NumberFormatException ex) {
|
||||
this.typeId = 0;
|
||||
}
|
||||
this.assignee = getTextSafely(e, "assignee");
|
||||
this.assigneeId = getAttributeSafely(e, "assignee", "username");
|
||||
this.reporter = getTextSafely(e, "reporter");
|
||||
this.reporterId = getAttributeSafely(e, "reporter", "username");
|
||||
this.created = getTextSafely(e, "created");
|
||||
this.updated = getTextSafely(e, "updated");
|
||||
this.resolution = getTextSafely(e, "resolution");
|
||||
|
||||
this.parentIssueKey = getTextSafely(e, "parent");
|
||||
this.thisIsASubTask = parentIssueKey != null;
|
||||
subTaskList = new ArrayList<String>();
|
||||
Element subtasks = e.getChild("subtasks");
|
||||
if (subtasks != null) {
|
||||
for (Object subtask : subtasks.getChildren("subtask")) {
|
||||
String subTaskKey = ((Element) subtask).getText();
|
||||
if (subTaskKey != null) {
|
||||
subTaskList.add(subTaskKey);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
this.originalEstimate = getTextSafely(e, "timeoriginalestimate");
|
||||
this.remainingEstimate = getTextSafely(e, "timeestimate");
|
||||
this.timeSpent = getTextSafely(e, "timespent");
|
||||
|
||||
Element comments = e.getChild("comments");
|
||||
if (comments != null && getComments) {
|
||||
commentsList = new ArrayList<JIRAComment>();
|
||||
for (Object comment : comments.getChildren("comment")) {
|
||||
Element el = (Element) comment;
|
||||
String commentId = el.getAttributeValue("id", "-1");
|
||||
String author = el.getAttributeValue("author", "Unknown");
|
||||
String text = el.getText();
|
||||
String creationDate = el.getAttributeValue("created", "Unknown");
|
||||
|
||||
Calendar cal = Calendar.getInstance();
|
||||
DateFormat df = new SimpleDateFormat("EEE MMM d HH:mm:ss Z yyyy", Locale.US);
|
||||
try {
|
||||
cal.setTime(df.parse(creationDate));
|
||||
} catch (java.text.ParseException ex) {
|
||||
// oh well, invalid time - now what? :(
|
||||
}
|
||||
|
||||
commentsList.add(new JIRACommentBean(commentId, author, text, cal));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public JIRAConstant getPriorityConstant() {
|
||||
return priorityConstant;
|
||||
}
|
||||
|
||||
public void setPriority(JIRAConstant priority) {
|
||||
this.priority = priority.getName();
|
||||
this.priorityConstant = priority;
|
||||
}
|
||||
|
||||
public JIRAIssueBean(String serverUrl, Map params) {
|
||||
this.serverUrl = serverUrl;
|
||||
this.summary = (String) params.get("summary");
|
||||
this.status = (String) params.get("status");
|
||||
this.key = (String) params.get("key");
|
||||
this.id = new Long(params.get("key").toString());
|
||||
updateProjectKey();
|
||||
this.description = (String) params.get("description");
|
||||
this.type = (String) params.get("type");
|
||||
this.priority = (String) params.get("priority");
|
||||
}
|
||||
|
||||
private void updateProjectKey() {
|
||||
if (key != null) {
|
||||
if (key.indexOf("-") >= 0) {
|
||||
projectKey = key.substring(0, key.indexOf("-"));
|
||||
} else {
|
||||
projectKey = key;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private String getTextSafely(Element e, String name) {
|
||||
Element child = e.getChild(name);
|
||||
|
||||
if (child == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return child.getText();
|
||||
}
|
||||
|
||||
private String getAttributeSafely(Element e, String elementName, String attributeName) {
|
||||
Element child = e.getChild(elementName);
|
||||
|
||||
if (child == null || child.getAttribute(attributeName) == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return child.getAttributeValue(attributeName);
|
||||
}
|
||||
|
||||
public String getServerUrl() {
|
||||
return serverUrl;
|
||||
}
|
||||
|
||||
public void setServerUrl(String serverUrl) {
|
||||
this.serverUrl = serverUrl;
|
||||
}
|
||||
|
||||
public String getProjectUrl() {
|
||||
return serverUrl + "/browse/" + getProjectKey();
|
||||
}
|
||||
|
||||
public String getIssueUrl() {
|
||||
return serverUrl + "/browse/" + getKey();
|
||||
}
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public boolean isSubTask() {
|
||||
return thisIsASubTask;
|
||||
}
|
||||
|
||||
public String getParentIssueKey() {
|
||||
return parentIssueKey;
|
||||
}
|
||||
|
||||
public List<String> getSubTaskKeys() {
|
||||
return subTaskList;
|
||||
}
|
||||
|
||||
public String getProjectKey() {
|
||||
return projectKey;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public String getStatusTypeUrl() {
|
||||
return statusUrl;
|
||||
}
|
||||
|
||||
public String getPriority() {
|
||||
return priority;
|
||||
}
|
||||
|
||||
public String getPriorityIconUrl() {
|
||||
return priorityUrl;
|
||||
}
|
||||
|
||||
public String getKey() {
|
||||
return key;
|
||||
}
|
||||
|
||||
public void setKey(String key) {
|
||||
this.key = key;
|
||||
}
|
||||
|
||||
public String getSummary() {
|
||||
return summary;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public String getTypeIconUrl() {
|
||||
return typeUrl;
|
||||
}
|
||||
|
||||
public void setTypeIconUrl(String newTypeUrl) {
|
||||
this.typeUrl = newTypeUrl;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setSummary(String summary) {
|
||||
this.summary = summary;
|
||||
}
|
||||
|
||||
public void setProjectKey(String projectKey) {
|
||||
this.projectKey = projectKey;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public JIRAConstant getTypeConstant() {
|
||||
return typeConstant;
|
||||
}
|
||||
|
||||
public void setType(JIRAConstant type) {
|
||||
this.type = type.getName();
|
||||
this.typeConstant = type;
|
||||
}
|
||||
|
||||
public JIRAConstant getStatusConstant() {
|
||||
return statusConstant;
|
||||
}
|
||||
|
||||
public void setStatus(JIRAConstant status) {
|
||||
this.status = status.getName();
|
||||
this.statusConstant = status;
|
||||
}
|
||||
|
||||
public String getAssignee() {
|
||||
return assignee;
|
||||
}
|
||||
|
||||
public void setAssignee(String assignee) {
|
||||
this.assignee = assignee;
|
||||
}
|
||||
|
||||
public long getPriorityId() {
|
||||
return priorityId;
|
||||
}
|
||||
|
||||
public long getStatusId() {
|
||||
return statusId;
|
||||
}
|
||||
|
||||
public long getTypeId() {
|
||||
return typeId;
|
||||
}
|
||||
|
||||
public String getReporter() {
|
||||
return reporter;
|
||||
}
|
||||
|
||||
public void setReporter(String reporter) {
|
||||
this.reporter = reporter;
|
||||
}
|
||||
|
||||
public String getResolution() {
|
||||
return resolution;
|
||||
}
|
||||
|
||||
public void setResolution(String resolution) {
|
||||
this.resolution = resolution;
|
||||
}
|
||||
|
||||
public String getCreated() {
|
||||
return created;
|
||||
}
|
||||
|
||||
public void setCreated(String created) {
|
||||
this.created = created;
|
||||
}
|
||||
|
||||
public String getUpdated() {
|
||||
return updated;
|
||||
}
|
||||
|
||||
public void setUpdated(String updated) {
|
||||
this.updated = updated;
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) {
|
||||
return true;
|
||||
}
|
||||
if (o == null || getClass() != o.getClass()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
JIRAIssueBean that = (JIRAIssueBean) o;
|
||||
|
||||
if (key != null ? !key.equals(that.key) : that.key != null) {
|
||||
return false;
|
||||
}
|
||||
if (serverUrl != null ? !serverUrl.equals(that.serverUrl) : that.serverUrl != null) {
|
||||
return false;
|
||||
}
|
||||
return !(summary != null ? !summary.equals(that.summary) : that.summary != null);
|
||||
|
||||
}
|
||||
|
||||
private static final int ONE_EFF = 31;
|
||||
|
||||
public int hashCode() {
|
||||
int result;
|
||||
result = (serverUrl != null ? serverUrl.hashCode() : 0);
|
||||
result = ONE_EFF * result + (key != null ? key.hashCode() : 0);
|
||||
result = ONE_EFF * result + (summary != null ? summary.hashCode() : 0);
|
||||
return result;
|
||||
}
|
||||
|
||||
public String getAssigneeId() {
|
||||
return assigneeId;
|
||||
}
|
||||
|
||||
public void setAssigneeId(String assigneeId) {
|
||||
this.assigneeId = assigneeId;
|
||||
}
|
||||
|
||||
public String getReporterId() {
|
||||
return reporterId;
|
||||
}
|
||||
|
||||
public void setReporterId(String reporterId) {
|
||||
this.reporterId = reporterId;
|
||||
}
|
||||
|
||||
public List<JIRAConstant> getAffectsVersions() {
|
||||
return affectsVersions;
|
||||
}
|
||||
|
||||
public void setAffectsVersions(List<JIRAConstant> affectsVersions) {
|
||||
this.affectsVersions = affectsVersions;
|
||||
}
|
||||
|
||||
public List<JIRAConstant> getFixVersions() {
|
||||
return fixVersions;
|
||||
}
|
||||
|
||||
public void setFixVersions(List<JIRAConstant> fixVersions) {
|
||||
this.fixVersions = fixVersions;
|
||||
}
|
||||
|
||||
public List<JIRAConstant> getComponents() {
|
||||
return components;
|
||||
}
|
||||
|
||||
public void setComponents(List<JIRAConstant> components) {
|
||||
this.components = components;
|
||||
}
|
||||
|
||||
public String getOriginalEstimate() {
|
||||
return originalEstimate;
|
||||
}
|
||||
|
||||
public void setOriginalEstimate(String originalEstimate) {
|
||||
this.originalEstimate = originalEstimate;
|
||||
}
|
||||
|
||||
public String getRemainingEstimate() {
|
||||
return remainingEstimate;
|
||||
}
|
||||
|
||||
public void setRemainingEstimate(String remainingEstimate) {
|
||||
this.remainingEstimate = remainingEstimate;
|
||||
}
|
||||
|
||||
public String getTimeSpent() {
|
||||
return timeSpent;
|
||||
}
|
||||
|
||||
public void setTimeSpent(String timeSpent) {
|
||||
this.timeSpent = timeSpent;
|
||||
}
|
||||
|
||||
public List<JIRAComment> getComments() {
|
||||
return commentsList;
|
||||
}
|
||||
}
|
||||
-48
@@ -1,48 +0,0 @@
|
||||
/**
|
||||
* Copyright (C) 2008 Atlassian
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.atlassian.theplugin.jira.api;
|
||||
|
||||
import java.net.URL;
|
||||
import java.util.Map;
|
||||
|
||||
public class JIRAIssueTypeBean extends AbstractJIRAConstantBean {
|
||||
private boolean subTask = false;
|
||||
public JIRAIssueTypeBean(Map<String, String> map) {
|
||||
super(map);
|
||||
subTask = Boolean.valueOf(map.get("subTask"));
|
||||
}
|
||||
|
||||
public JIRAIssueTypeBean(long id, String name, URL iconUrl) {
|
||||
super(id, name, iconUrl);
|
||||
}
|
||||
|
||||
public JIRAIssueTypeBean(JIRAIssueTypeBean other) {
|
||||
this(other.getMap());
|
||||
}
|
||||
|
||||
public String getQueryStringFragment() {
|
||||
return "type=" + getId();
|
||||
}
|
||||
|
||||
public JIRAIssueTypeBean getClone() {
|
||||
return new JIRAIssueTypeBean(this);
|
||||
}
|
||||
|
||||
public boolean isSubTask() {
|
||||
return subTask;
|
||||
}
|
||||
}
|
||||
-31
@@ -1,31 +0,0 @@
|
||||
/**
|
||||
* Copyright (C) 2008 Atlassian
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.atlassian.theplugin.jira.api;
|
||||
|
||||
/**
|
||||
* Generic Bamboo Excepion.
|
||||
*/
|
||||
public class JIRALoginException extends JIRAException {
|
||||
|
||||
public JIRALoginException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public JIRALoginException(String message, Throwable throwable) {
|
||||
super(message, throwable);
|
||||
}
|
||||
}
|
||||
-44
@@ -1,44 +0,0 @@
|
||||
/**
|
||||
* Copyright (C) 2008 Atlassian
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.atlassian.theplugin.jira.api;
|
||||
|
||||
import java.net.URL;
|
||||
import java.util.Map;
|
||||
|
||||
public class JIRAPriorityBean extends AbstractJIRAConstantBean {
|
||||
public JIRAPriorityBean(Map<String, String> map) {
|
||||
super(map);
|
||||
}
|
||||
|
||||
public JIRAPriorityBean(long id, String name, URL iconUrl) {
|
||||
super(id, name, iconUrl);
|
||||
}
|
||||
|
||||
public JIRAPriorityBean(JIRAPriorityBean other) {
|
||||
super(other.getMap());
|
||||
}
|
||||
|
||||
public String getQueryStringFragment() {
|
||||
return "priority=" + getId();
|
||||
}
|
||||
|
||||
public JIRAPriorityBean getClone() {
|
||||
return new JIRAPriorityBean(this);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
-27
@@ -1,27 +0,0 @@
|
||||
/**
|
||||
* Copyright (C) 2008 Atlassian
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.atlassian.theplugin.jira.api;
|
||||
|
||||
public interface JIRAProject extends JIRAQueryFragment {
|
||||
String getKey();
|
||||
|
||||
String getUrl();
|
||||
|
||||
String getLead();
|
||||
|
||||
String getDescription();
|
||||
}
|
||||
-121
@@ -1,121 +0,0 @@
|
||||
/**
|
||||
* Copyright (C) 2008 Atlassian
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.atlassian.theplugin.jira.api;
|
||||
|
||||
import com.intellij.util.xmlb.annotations.Transient;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
public class JIRAProjectBean implements JIRAProject {
|
||||
private String name;
|
||||
private String key;
|
||||
private String url;
|
||||
private long id;
|
||||
private String description;
|
||||
private String lead;
|
||||
|
||||
public JIRAProjectBean() {
|
||||
}
|
||||
|
||||
public JIRAProjectBean(Map projMap) {
|
||||
name = (String) projMap.get("name");
|
||||
key = (String) projMap.get("key");
|
||||
description = (String) projMap.get("description");
|
||||
url = (String) projMap.get("url");
|
||||
lead = (String) projMap.get("lead");
|
||||
id = Long.valueOf((String) projMap.get("id"));
|
||||
}
|
||||
|
||||
public JIRAProjectBean(long id, String name) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public JIRAProjectBean(JIRAProjectBean other) {
|
||||
this(other.getMap());
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public HashMap<String, String> getMap() {
|
||||
HashMap<String, String> map = new HashMap<String, String>();
|
||||
map.put("name", getName());
|
||||
map.put("id", Long.toString(id));
|
||||
map.put("key", getKey());
|
||||
map.put("description", getDescription());
|
||||
map.put("url", getUrl());
|
||||
map.put("lead", getLead());
|
||||
map.put("filterTypeClass", this.getClass().getName());
|
||||
return map;
|
||||
}
|
||||
|
||||
public JIRAProjectBean getClone() {
|
||||
return new JIRAProjectBean(this);
|
||||
}
|
||||
|
||||
public String getKey() {
|
||||
return key;
|
||||
}
|
||||
|
||||
public String getUrl() {
|
||||
return url;
|
||||
}
|
||||
|
||||
public long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public String getLead() {
|
||||
return lead;
|
||||
}
|
||||
|
||||
@Transient
|
||||
public String getQueryStringFragment() {
|
||||
return "pid=" + id;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public void setKey(String key) {
|
||||
this.key = key;
|
||||
}
|
||||
|
||||
public void setUrl(String url) {
|
||||
this.url = url;
|
||||
}
|
||||
|
||||
public void setId(long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public void setLead(String lead) {
|
||||
this.lead = lead;
|
||||
}
|
||||
}
|
||||
-31
@@ -1,31 +0,0 @@
|
||||
/**
|
||||
* Copyright (C) 2008 Atlassian
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.atlassian.theplugin.jira.api;
|
||||
|
||||
import java.util.HashMap;
|
||||
|
||||
public interface JIRAQueryFragment {
|
||||
String getQueryStringFragment();
|
||||
|
||||
long getId();
|
||||
|
||||
String getName();
|
||||
|
||||
HashMap<String, String> getMap();
|
||||
|
||||
JIRAQueryFragment getClone();
|
||||
}
|
||||
-45
@@ -1,45 +0,0 @@
|
||||
/**
|
||||
* Copyright (C) 2008 Atlassian
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.atlassian.theplugin.jira.api;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
public class JIRAReporterBean extends JIRAUserBean {
|
||||
public JIRAReporterBean() {
|
||||
}
|
||||
|
||||
public JIRAReporterBean(long id, String name, String value) {
|
||||
super(id, name, value);
|
||||
}
|
||||
|
||||
public JIRAReporterBean(Map<String, String> map) {
|
||||
super(map);
|
||||
}
|
||||
|
||||
public JIRAReporterBean(JIRAReporterBean other) {
|
||||
this(other.getMap());
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getQueryStringFragment() {
|
||||
return "reporter=" + getValue();
|
||||
}
|
||||
|
||||
public JIRAReporterBean getClone() {
|
||||
return new JIRAReporterBean(this);
|
||||
}
|
||||
}
|
||||
-42
@@ -1,42 +0,0 @@
|
||||
/**
|
||||
* Copyright (C) 2008 Atlassian
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.atlassian.theplugin.jira.api;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
public class JIRAResolutionBean extends AbstractJIRAConstantBean {
|
||||
|
||||
public JIRAResolutionBean(Map<String, String> map) {
|
||||
super(map);
|
||||
}
|
||||
|
||||
public JIRAResolutionBean(long id, String name) {
|
||||
super(id, name, null);
|
||||
}
|
||||
|
||||
public JIRAResolutionBean(JIRAResolutionBean other) {
|
||||
this(other.getMap());
|
||||
}
|
||||
|
||||
public String getQueryStringFragment() {
|
||||
return "resolution=" + id;
|
||||
}
|
||||
|
||||
public JIRAResolutionBean getClone() {
|
||||
return new JIRAResolutionBean(this);
|
||||
}
|
||||
}
|
||||
-23
@@ -1,23 +0,0 @@
|
||||
/**
|
||||
* Copyright (C) 2008 Atlassian
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.atlassian.theplugin.jira.api;
|
||||
|
||||
public interface JIRASavedFilter extends JIRAQueryFragment {
|
||||
String getAuthor();
|
||||
|
||||
String getProject();
|
||||
}
|
||||
-77
@@ -1,77 +0,0 @@
|
||||
/**
|
||||
* Copyright (C) 2008 Atlassian
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.atlassian.theplugin.jira.api;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
public class JIRASavedFilterBean implements JIRASavedFilter {
|
||||
private String name;
|
||||
private String author;
|
||||
private String project;
|
||||
private long id;
|
||||
|
||||
public JIRASavedFilterBean(Map projMap) {
|
||||
name = (String) projMap.get("name");
|
||||
author = (String) projMap.get("author");
|
||||
project = (String) projMap.get("project");
|
||||
id = Long.valueOf((String) projMap.get("id"));
|
||||
}
|
||||
|
||||
public JIRASavedFilterBean(String n, long id) {
|
||||
name = n;
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public JIRASavedFilterBean(JIRASavedFilterBean other) {
|
||||
this(other.getMap());
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public HashMap<String, String> getMap() {
|
||||
HashMap<String, String> map = new HashMap<String, String>();
|
||||
map.put("name", getName());
|
||||
map.put("id", Long.toString(id));
|
||||
map.put("author", getAuthor());
|
||||
map.put("project", getProject());
|
||||
map.put("filterTypeClass", this.getClass().getName());
|
||||
return map;
|
||||
}
|
||||
|
||||
public JIRASavedFilterBean getClone() {
|
||||
return new JIRASavedFilterBean(this);
|
||||
}
|
||||
|
||||
public long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public String getAuthor() {
|
||||
return author;
|
||||
}
|
||||
|
||||
public String getProject() {
|
||||
return project;
|
||||
}
|
||||
|
||||
public String getQueryStringFragment() {
|
||||
return Long.toString(id);
|
||||
}
|
||||
}
|
||||
-42
@@ -1,42 +0,0 @@
|
||||
/**
|
||||
* Copyright (C) 2008 Atlassian
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.atlassian.theplugin.jira.api;
|
||||
|
||||
import java.net.URL;
|
||||
import java.util.Map;
|
||||
|
||||
public class JIRAStatusBean extends AbstractJIRAConstantBean {
|
||||
public JIRAStatusBean(Map<String, String> map) {
|
||||
super(map);
|
||||
}
|
||||
|
||||
public JIRAStatusBean(long id, String name, URL iconUrl) {
|
||||
super(id, name, iconUrl);
|
||||
}
|
||||
|
||||
public JIRAStatusBean(JIRAStatusBean other) {
|
||||
this(other.getMap());
|
||||
}
|
||||
|
||||
public String getQueryStringFragment() {
|
||||
return "status=" + getId();
|
||||
}
|
||||
|
||||
public JIRAStatusBean getClone() {
|
||||
return new JIRAStatusBean(this);
|
||||
}
|
||||
}
|
||||
-50
@@ -1,50 +0,0 @@
|
||||
/**
|
||||
* Copyright (C) 2008 Atlassian
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.atlassian.theplugin.jira.api;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
public abstract class JIRAUserBean extends AbstractJIRAConstantBean {
|
||||
protected String value = "";
|
||||
|
||||
public JIRAUserBean() {
|
||||
super();
|
||||
}
|
||||
|
||||
public JIRAUserBean(long id, String name, String value) {
|
||||
super(id, name, null);
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public JIRAUserBean(Map<String, String> map) {
|
||||
super(map);
|
||||
value = map.get("value");
|
||||
}
|
||||
|
||||
public HashMap<String, String> getMap() {
|
||||
HashMap<String, String> map = super.getMap();
|
||||
map.put("value", getValue());
|
||||
return map;
|
||||
}
|
||||
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public abstract String getQueryStringFragment();
|
||||
}
|
||||
-53
@@ -1,53 +0,0 @@
|
||||
/**
|
||||
* Copyright (C) 2008 Atlassian
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.atlassian.theplugin.jira.api;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
public class JIRAVersionBean extends AbstractJIRAConstantBean {
|
||||
protected boolean isReleased;
|
||||
|
||||
public JIRAVersionBean(Map<String, String> map) {
|
||||
super(map);
|
||||
isReleased = Boolean.valueOf(map.get("released"));
|
||||
}
|
||||
|
||||
public JIRAVersionBean(long id, String name) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public JIRAVersionBean(JIRAVersionBean other) {
|
||||
this(other.getMap());
|
||||
}
|
||||
|
||||
public boolean isReleased() {
|
||||
return isReleased;
|
||||
}
|
||||
|
||||
public void setReleased(boolean released) {
|
||||
isReleased = released;
|
||||
}
|
||||
|
||||
public String getQueryStringFragment() {
|
||||
return "version=" + getId();
|
||||
}
|
||||
|
||||
public JIRAVersionBean getClone() {
|
||||
return new JIRAVersionBean(this);
|
||||
}
|
||||
}
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
package com.atlassian.theplugin.jira.api;
|
||||
|
||||
/**
|
||||
* User: jgorycki
|
||||
* Date: Dec 8, 2008
|
||||
* Time: 6:22:09 PM
|
||||
*/
|
||||
public class JiraUserNotFoundException extends Exception {
|
||||
public JiraUserNotFoundException(String message) { super(message); }
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
package icons;
|
||||
|
||||
import com.intellij.openapi.util.IconLoader;
|
||||
|
||||
import javax.swing.*;
|
||||
|
||||
/**
|
||||
* NOTE THIS FILE IS AUTO-GENERATED by the build/scripts/icons.gant
|
||||
* Don't repeat mistakes of others ;-)
|
||||
*/
|
||||
public class JiraConnectorIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, JiraConnectorIcons.class);
|
||||
}
|
||||
|
||||
public static final Icon Jira_blue_16 = load("/resources/jira-blue-16.png"); // 16x16
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 241 B |
@@ -1,26 +0,0 @@
|
||||
/*
|
||||
* Copyright 2000-2009 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.intellij.tasks.jira;
|
||||
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
|
||||
/**
|
||||
* @author Dmitry Avdeev
|
||||
*/
|
||||
public interface JiraConstants {
|
||||
@NonNls String UNRESOLVED = "Unresolved";
|
||||
}
|
||||
-246
@@ -1,246 +0,0 @@
|
||||
package com.intellij.tasks.jira;
|
||||
|
||||
import com.atlassian.connector.commons.jira.soap.axis.JiraSoapService;
|
||||
import com.atlassian.connector.commons.jira.soap.axis.JiraSoapServiceServiceLocator;
|
||||
import com.atlassian.theplugin.jira.api.JIRAIssueBean;
|
||||
import com.intellij.openapi.diagnostic.Logger;
|
||||
import com.intellij.openapi.util.KeyValue;
|
||||
import com.intellij.openapi.util.text.StringUtil;
|
||||
import com.intellij.tasks.LocalTask;
|
||||
import com.intellij.tasks.Task;
|
||||
import com.intellij.tasks.TaskState;
|
||||
import com.intellij.tasks.impl.BaseRepositoryImpl;
|
||||
import com.intellij.util.Function;
|
||||
import com.intellij.util.containers.ContainerUtil;
|
||||
import com.intellij.util.net.HttpConfigurable;
|
||||
import com.intellij.util.xmlb.annotations.Tag;
|
||||
import org.apache.axis.AxisProperties;
|
||||
import org.apache.commons.httpclient.HttpClient;
|
||||
import org.apache.commons.httpclient.HttpStatus;
|
||||
import org.apache.commons.httpclient.cookie.CookiePolicy;
|
||||
import org.apache.commons.httpclient.methods.GetMethod;
|
||||
import org.apache.commons.httpclient.methods.PostMethod;
|
||||
import org.apache.commons.httpclient.methods.StringRequestEntity;
|
||||
import org.jdom.Element;
|
||||
import org.jdom.JDOMException;
|
||||
import org.jdom.input.SAXBuilder;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.net.URL;
|
||||
import java.rmi.RemoteException;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Dmitry Avdeev
|
||||
*/
|
||||
@Tag("JIRA")
|
||||
public class JiraRepository extends BaseRepositoryImpl {
|
||||
|
||||
private final static Logger LOG = Logger.getInstance("#com.intellij.tasks.jira.JiraRepository");
|
||||
public static final String LOGIN_FAILED_CHECK_YOUR_PERMISSIONS = "Login failed. Check your permissions.";
|
||||
|
||||
private boolean myJira4 = true;
|
||||
|
||||
/**
|
||||
* for serialization
|
||||
*/
|
||||
@SuppressWarnings({"UnusedDeclaration"})
|
||||
public JiraRepository() {
|
||||
super();
|
||||
}
|
||||
|
||||
private JiraRepository(JiraRepository other) {
|
||||
super(other);
|
||||
}
|
||||
|
||||
public JiraRepository(JiraRepositoryType type) {
|
||||
super(type);
|
||||
}
|
||||
|
||||
public Task[] getIssues(@Nullable String request, int max, long since) throws Exception {
|
||||
return getIssues(max, login());
|
||||
}
|
||||
|
||||
private Task[] getIssues(int max, HttpClient httpClient) throws IOException, JDOMException {
|
||||
StringBuilder url = new StringBuilder(getUrl());
|
||||
url.append("/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?");
|
||||
url.append("tempMax=").append(max);
|
||||
url.append("&assignee=").append(encodeUrl(getUsername()));
|
||||
// url.append("&resolution=-1");
|
||||
url.append("&reset=true");
|
||||
url.append("&sorter/field=").append("updated");
|
||||
url.append("&sorter/order=").append("DESC");
|
||||
url.append("&pager/start=").append(0);
|
||||
|
||||
return processRSS(url.toString(), httpClient);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setTaskState(Task task, TaskState state) throws Exception {
|
||||
}
|
||||
|
||||
private Task[] processRSS(String url, HttpClient client) throws IOException, JDOMException {
|
||||
GetMethod method = new GetMethod(url);
|
||||
configureHttpMethod(method);
|
||||
client.executeMethod(method);
|
||||
|
||||
int code = method.getStatusCode();
|
||||
if (code != HttpStatus.SC_OK) {
|
||||
throw new IOException(code == HttpStatus.SC_BAD_REQUEST ?
|
||||
method.getResponseBodyAsString() :
|
||||
("HTTP " + code + " (" + HttpStatus.getStatusText(code) + ") " + method.getStatusText()));
|
||||
}
|
||||
InputStream stream = method.getResponseBodyAsStream();
|
||||
Element root = new SAXBuilder(false).build(stream).getRootElement();
|
||||
Element channel = root.getChild("channel");
|
||||
if (channel != null) {
|
||||
@SuppressWarnings({"unchecked"}) List<Element> children = channel.getChildren("item");
|
||||
LOG.info("JIRA: " + children.size() + " issues found");
|
||||
final List<Task> tasks = ContainerUtil.map(children, new Function<Element, Task>() {
|
||||
public Task fun(Element o) {
|
||||
return new JiraTask(new JIRAIssueBean(getUrl(), o, false), JiraRepository.this);
|
||||
}
|
||||
});
|
||||
return tasks.toArray(new Task[tasks.size()]);
|
||||
}
|
||||
else {
|
||||
LOG.warn("JIRA channel not found");
|
||||
}
|
||||
return Task.EMPTY_ARRAY;
|
||||
}
|
||||
|
||||
private HttpClient login() throws Exception {
|
||||
|
||||
HttpClient client = getHttpClient();
|
||||
client.getParams().setCookiePolicy(CookiePolicy.BROWSER_COMPATIBILITY);
|
||||
if (myJira4) {
|
||||
PostMethod postMethod = getLoginMethodFor4x();
|
||||
client.executeMethod(postMethod);
|
||||
if (checkLoginResult(postMethod)) {
|
||||
return client;
|
||||
}
|
||||
}
|
||||
// try 3.x protocol
|
||||
axisLogin();
|
||||
return client;
|
||||
}
|
||||
|
||||
private void axisLogin() throws Exception {
|
||||
|
||||
try {
|
||||
JiraSoapService soapService =
|
||||
new JiraSoapServiceServiceLocator().getJirasoapserviceV2(new URL(getUrl() + "/rpc/soap/jirasoapservice-v2"));
|
||||
if (isUseProxy()) {
|
||||
final List<KeyValue<String,String>> list = HttpConfigurable.getJvmPropertiesList(false, null);
|
||||
if (! list.isEmpty()) {
|
||||
for (KeyValue<String, String> value : list) {
|
||||
AxisProperties.setProperty(value.getKey(), value.getValue());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
soapService.login(getUsername(), getPassword());
|
||||
}
|
||||
catch (RemoteException e) {
|
||||
String message = e.toString();
|
||||
int i = message.indexOf(": ");
|
||||
if (i > 0) {
|
||||
message = message.substring(i + 2);
|
||||
}
|
||||
throw new Exception(message, e);
|
||||
}
|
||||
}
|
||||
|
||||
private boolean checkLoginResult(PostMethod postMethod) throws IOException {
|
||||
int statusCode = postMethod.getStatusCode();
|
||||
if (statusCode == HttpStatus.SC_NOT_FOUND) {
|
||||
myJira4 = false;
|
||||
return false;
|
||||
}
|
||||
if (statusCode != HttpStatus.SC_OK && statusCode != HttpStatus.SC_MOVED_TEMPORARILY) {
|
||||
throw new IOException("Can't login: " + statusCode + " (" + HttpStatus.getStatusText(statusCode) + ")");
|
||||
}
|
||||
if (statusCode == HttpStatus.SC_OK && new String(postMethod.getResponseBody(2000)).contains("\"loginSucceeded\":false")) {
|
||||
throw new IOException(LOGIN_FAILED_CHECK_YOUR_PERMISSIONS);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
private PostMethod getLoginMethodFor4x() {
|
||||
String url = getUrl() + "/rest/gadget/1.0/login";
|
||||
PostMethod postMethod = new PostMethod(url);
|
||||
postMethod.addParameter("os_username", getUsername());
|
||||
postMethod.addParameter("os_password", getPassword());
|
||||
postMethod.addParameter("os_destination", "/success");
|
||||
configureHttpMethod(postMethod);
|
||||
return postMethod;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public CancellableConnection createCancellableConnection() {
|
||||
PostMethod method = getLoginMethodFor4x();
|
||||
return new HttpTestConnection<PostMethod>(method) {
|
||||
|
||||
@Override
|
||||
public void doTest(PostMethod method) throws Exception {
|
||||
HttpClient client = getHttpClient();
|
||||
client.executeMethod(myMethod);
|
||||
if (!checkLoginResult(method)) {
|
||||
axisLogin();
|
||||
}
|
||||
getIssues(1, client);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
public JiraRepository clone() {
|
||||
return new JiraRepository(this);
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public Task findTask(String id) {
|
||||
try {
|
||||
StringBuilder url = new StringBuilder(getUrl());
|
||||
url.append("/si/jira.issueviews:issue-xml/");
|
||||
url.append(id).append('/').append(id).append(".xml");
|
||||
|
||||
Task[] tasks = processRSS(url.toString(), login());
|
||||
return tasks.length == 0 ? null : tasks[0];
|
||||
}
|
||||
catch (Exception e) {
|
||||
LOG.warn("Cannot get issue " + id + ": " + e.getMessage());
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateTimeSpent(final LocalTask task, final String timeSpent, final String comment) throws Exception {
|
||||
final HttpClient client = login();
|
||||
checkVersion(client);
|
||||
PostMethod method = new PostMethod(getUrl() + "/rest/api/2/issue/" + task.getId() + "/worklog");
|
||||
method.setRequestEntity(
|
||||
new StringRequestEntity("{\"timeSpent\" : \"" + timeSpent + "\"" +
|
||||
(StringUtil.isNotEmpty(comment) ? ", \"comment\" : " + comment : "")
|
||||
+ " }", "application/json", "UTF-8"));
|
||||
client.executeMethod(method);
|
||||
if (method.getStatusCode() != 201) {
|
||||
throw new Exception(method.getResponseBodyAsString());
|
||||
}
|
||||
}
|
||||
|
||||
private void checkVersion(final HttpClient client) throws Exception {
|
||||
GetMethod method = new GetMethod(getUrl() + "/rest/api/2/project");
|
||||
client.executeMethod(method);
|
||||
if (method.getStatusCode() != 200) {
|
||||
throw new Exception("This version of JIRA doesn't have support REST API for working with worklog items.");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getFeatures() {
|
||||
return BASIC_HTTP_AUTHORIZATION | TIME_MANAGEMENT;
|
||||
}
|
||||
}
|
||||
@@ -123,6 +123,15 @@
|
||||
<tasks.repositoryType implementation="com.intellij.tasks.generic.assembla.AssemblaRepositoryType"/>
|
||||
<tasks.repositoryType implementation="com.intellij.tasks.trello.TrelloRepositoryType"/>
|
||||
|
||||
<!-- JQL support -->
|
||||
<fileTypeFactory implementation="com.intellij.tasks.jira.jql.JqlFileTypeFactory"/>
|
||||
<lang.parserDefinition language="JQL"
|
||||
implementationClass="com.intellij.tasks.jira.jql.JqlParserDefinition"/>
|
||||
<lang.syntaxHighlighterFactory key="JQL" implementationClass="com.intellij.tasks.jira.jql.JqlHighlighterFactory"/>
|
||||
<lang.braceMatcher language="JQL" implementationClass="com.intellij.tasks.jira.jql.JqlBraceMatcher"/>
|
||||
<completion.contributor language="JQL"
|
||||
implementationClass="com.intellij.tasks.jira.jql.codeinsight.JqlCompletionContributor"/>
|
||||
|
||||
<checkinHandlerFactory implementation="com.intellij.tasks.impl.TaskCheckinHandlerFactory"/>
|
||||
</extensions>
|
||||
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.atlassian.theplugin.idea.jira;
|
||||
package com.intellij.tasks.jira;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.net.MalformedURLException;
|
||||
+7
-7
@@ -16,19 +16,19 @@
|
||||
|
||||
package com.intellij.tasks.jira;
|
||||
|
||||
import com.atlassian.theplugin.jira.api.JIRAComment;
|
||||
import com.intellij.tasks.Comment;
|
||||
import com.intellij.tasks.jira.model.JiraComment;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author Dmitry Avdeev
|
||||
*/
|
||||
public class JiraComment extends Comment {
|
||||
public class JiraCommentAdapter extends Comment {
|
||||
|
||||
private final JIRAComment myComment;
|
||||
private final JiraComment myComment;
|
||||
|
||||
public JiraComment(JIRAComment comment) {
|
||||
public JiraCommentAdapter(JiraComment comment) {
|
||||
myComment = comment;
|
||||
}
|
||||
|
||||
@@ -37,15 +37,15 @@ public class JiraComment extends Comment {
|
||||
}
|
||||
|
||||
public String getAuthor() {
|
||||
return myComment.getAuthorFullName();
|
||||
return myComment.getAuthor().getDisplayName();
|
||||
}
|
||||
|
||||
public Date getDate() {
|
||||
return myComment.getCreationDate().getTime();
|
||||
return myComment.getCreated();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return myComment.getAuthorFullName();
|
||||
return myComment.getAuthor().getDisplayName();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,157 @@
|
||||
package com.intellij.tasks.jira;
|
||||
|
||||
import com.intellij.openapi.diagnostic.Logger;
|
||||
import com.intellij.openapi.util.Comparing;
|
||||
import com.intellij.openapi.util.io.StreamUtil;
|
||||
import com.intellij.openapi.util.text.StringUtil;
|
||||
import com.intellij.tasks.Task;
|
||||
import com.intellij.tasks.impl.BaseRepositoryImpl;
|
||||
import com.intellij.tasks.jira.model.JiraIssue;
|
||||
import com.intellij.tasks.jira.model.JiraResponseWrapper;
|
||||
import com.intellij.util.Function;
|
||||
import com.intellij.util.containers.ContainerUtil;
|
||||
import com.intellij.util.xmlb.annotations.Tag;
|
||||
import org.apache.commons.httpclient.HttpClient;
|
||||
import org.apache.commons.httpclient.HttpStatus;
|
||||
import org.apache.commons.httpclient.NameValuePair;
|
||||
import org.apache.commons.httpclient.methods.GetMethod;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Dmitry Avdeev
|
||||
*/
|
||||
@Tag("JIRA")
|
||||
public class JiraRepository extends BaseRepositoryImpl {
|
||||
|
||||
private final static Logger LOG = Logger.getInstance("#com.intellij.tasks.jira.JiraRepository");
|
||||
public static final String LOGIN_FAILED_CHECK_YOUR_PERMISSIONS = "Login failed. Check your permissions.";
|
||||
public static final String REST_API_PATH_SUFFIX = "/rest/api/latest";
|
||||
|
||||
private String mySearchQuery = "assignee = currentUser() order by duedate";
|
||||
|
||||
/**
|
||||
* Serialization constructor
|
||||
*/
|
||||
@SuppressWarnings({"UnusedDeclaration"})
|
||||
public JiraRepository() {
|
||||
}
|
||||
|
||||
public JiraRepository(JiraRepositoryType type) {
|
||||
super(type);
|
||||
}
|
||||
|
||||
private JiraRepository(JiraRepository other) {
|
||||
super(other);
|
||||
mySearchQuery = other.mySearchQuery;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (!super.equals(o)) return false;
|
||||
if (o.getClass() != getClass()) return false;
|
||||
return Comparing.equal(mySearchQuery, ((JiraRepository)o).mySearchQuery);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Always use Basic HTTP authentication for JIRA REST interface
|
||||
*/
|
||||
@Override
|
||||
public boolean isUseHttpAuthentication() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public Task[] getIssues(@Nullable String searchQuery, int max, long since) throws Exception {
|
||||
HttpClient client = getHttpClient();
|
||||
GetMethod method = new GetMethod(getUrl() + REST_API_PATH_SUFFIX + "/search");
|
||||
String jqlQuery = mySearchQuery;
|
||||
if (!StringUtil.isEmpty(searchQuery)) {
|
||||
if (JiraUtil.ANY_ISSUE_KEY_REGEX.matcher(searchQuery).matches()) {
|
||||
jqlQuery += String.format(" and key = \"%s\"", searchQuery);
|
||||
}
|
||||
else {
|
||||
jqlQuery += String.format(" and summary ~ \"%s\"", searchQuery);
|
||||
}
|
||||
}
|
||||
method.setQueryString(new NameValuePair[]{
|
||||
new NameValuePair("jql", jqlQuery),
|
||||
// by default comment field will be skipped
|
||||
//new NameValuePair("fields", "*all"),
|
||||
new NameValuePair("fields", JiraIssue.REQUIRED_RESPONSE_FIELDS),
|
||||
new NameValuePair("maxResults", String.valueOf(max))
|
||||
});
|
||||
LOG.debug("URI is " + method.getURI());
|
||||
int statusCode = client.executeMethod(method);
|
||||
LOG.debug("Status code is " + statusCode);
|
||||
String entityContent = StreamUtil.readText(method.getResponseBodyAsStream(), "utf-8");
|
||||
LOG.debug(entityContent);
|
||||
if (statusCode != HttpStatus.SC_OK) {
|
||||
return Task.EMPTY_ARRAY;
|
||||
}
|
||||
JiraResponseWrapper.Issues wrapper = JiraUtil.GSON.fromJson(entityContent, JiraResponseWrapper.Issues.class);
|
||||
List<JiraIssue> issues = wrapper.getIssues();
|
||||
LOG.debug("Total " + issues.size() + " issues downloaded");
|
||||
return ContainerUtil.map2Array(issues, Task.class, new Function<JiraIssue, Task>() {
|
||||
@Override
|
||||
public JiraTask fun(JiraIssue issue) {
|
||||
return new JiraTask(issue, JiraRepository.this);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public Task findTask(String id) throws Exception {
|
||||
HttpClient client = getHttpClient();
|
||||
GetMethod method = new GetMethod(getUrl() + REST_API_PATH_SUFFIX + "/issue/" + id);
|
||||
method.setQueryString("fields=" + encodeUrl(JiraIssue.REQUIRED_RESPONSE_FIELDS));
|
||||
int statusCode = client.executeMethod(method);
|
||||
LOG.debug("Status code is " + statusCode);
|
||||
String entityContent = StreamUtil.readText(method.getResponseBodyAsStream(), "utf-8");
|
||||
LOG.debug(entityContent);
|
||||
if (statusCode != HttpStatus.SC_OK) {
|
||||
return null;
|
||||
}
|
||||
return new JiraTask(JiraUtil.GSON.fromJson(entityContent, JiraIssue.class), this);
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public CancellableConnection createCancellableConnection() {
|
||||
String uri = getUrl() + REST_API_PATH_SUFFIX + "/search?maxResults=1";
|
||||
return new HttpTestConnection<GetMethod>(new GetMethod(uri)) {
|
||||
@Override
|
||||
public void doTest(GetMethod method) throws Exception {
|
||||
HttpClient client = getHttpClient();
|
||||
int statusCode = client.executeMethod(myMethod);
|
||||
if (statusCode == HttpStatus.SC_UNAUTHORIZED) {
|
||||
throw new Exception(LOGIN_FAILED_CHECK_YOUR_PERMISSIONS);
|
||||
}
|
||||
else if (statusCode != HttpStatus.SC_OK) {
|
||||
throw new Exception("Error while connecting to server: " + HttpStatus.getStatusText(statusCode));
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
public JiraRepository clone() {
|
||||
return new JiraRepository(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getFeatures() {
|
||||
return TIME_MANAGEMENT;
|
||||
}
|
||||
|
||||
|
||||
public String getSearchQuery() {
|
||||
return mySearchQuery;
|
||||
}
|
||||
|
||||
public void setSearchQuery(String searchQuery) {
|
||||
mySearchQuery = searchQuery;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* Copyright 2000-2013 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.intellij.tasks.jira;
|
||||
|
||||
import com.intellij.openapi.editor.Document;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.psi.PsiDocumentManager;
|
||||
import com.intellij.psi.PsiFile;
|
||||
import com.intellij.psi.PsiFileFactory;
|
||||
import com.intellij.tasks.config.BaseRepositoryEditor;
|
||||
import com.intellij.tasks.jira.jql.JqlFileType;
|
||||
import com.intellij.tasks.jira.jql.JqlLanguage;
|
||||
import com.intellij.ui.EditorTextField;
|
||||
import com.intellij.ui.components.JBLabel;
|
||||
import com.intellij.util.Consumer;
|
||||
import com.intellij.util.ui.FormBuilder;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import javax.swing.*;
|
||||
|
||||
/**
|
||||
* @author Mikhail Golubev
|
||||
*/
|
||||
public class JiraRepositoryEditor extends BaseRepositoryEditor<JiraRepository> {
|
||||
private EditorTextField mySearchQueryField;
|
||||
private JBLabel mySearchLabel;
|
||||
|
||||
public JiraRepositoryEditor(Project project, JiraRepository repository, Consumer<JiraRepository> changeListener) {
|
||||
super(project, repository, changeListener);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void apply() {
|
||||
myRepository.setSearchQuery(mySearchQueryField.getText());
|
||||
super.apply();
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
protected JComponent createCustomPanel() {
|
||||
mySearchLabel = new JBLabel("Search:", SwingConstants.RIGHT);
|
||||
PsiFileFactory fileFactory = PsiFileFactory.getInstance(myProject);
|
||||
PsiFile psiFile = fileFactory.createFileFromText("query.jql", JqlLanguage.INSTANCE, myRepository.getSearchQuery());
|
||||
Document document = PsiDocumentManager.getInstance(myProject).getDocument(psiFile);
|
||||
mySearchQueryField = new EditorTextField(document, myProject, JqlFileType.INSTANCE);
|
||||
installListener(document);
|
||||
return FormBuilder.createFormBuilder().addLabeledComponent(mySearchLabel, mySearchQueryField).getPanel();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setAnchor(@Nullable final JComponent anchor) {
|
||||
super.setAnchor(anchor);
|
||||
mySearchLabel.setAnchor(anchor);
|
||||
}
|
||||
}
|
||||
+14
-2
@@ -1,7 +1,10 @@
|
||||
package com.intellij.tasks.jira;
|
||||
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.tasks.config.TaskRepositoryEditor;
|
||||
import com.intellij.tasks.impl.BaseRepositoryType;
|
||||
import icons.JiraConnectorIcons;
|
||||
import com.intellij.util.Consumer;
|
||||
import icons.TasksIcons;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import javax.swing.*;
|
||||
@@ -21,7 +24,7 @@ public class JiraRepositoryType extends BaseRepositoryType<JiraRepository> {
|
||||
|
||||
@NotNull
|
||||
public Icon getIcon() {
|
||||
return JiraConnectorIcons.Jira_blue_16;
|
||||
return TasksIcons.JIRA;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@@ -34,6 +37,15 @@ public class JiraRepositoryType extends BaseRepositoryType<JiraRepository> {
|
||||
public Class<JiraRepository> getRepositoryClass() {
|
||||
return JiraRepository.class;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public TaskRepositoryEditor createEditor(JiraRepository repository,
|
||||
Project project,
|
||||
Consumer<JiraRepository> changeListener) {
|
||||
return new JiraRepositoryEditor(project, repository, changeListener);
|
||||
}
|
||||
|
||||
//
|
||||
//@Override
|
||||
//public EnumSet<TaskState> getPossibleTaskStates() {
|
||||
+19
-32
@@ -16,33 +16,28 @@
|
||||
|
||||
package com.intellij.tasks.jira;
|
||||
|
||||
import com.atlassian.theplugin.idea.jira.CachedIconLoader;
|
||||
import com.atlassian.theplugin.jira.api.JIRAComment;
|
||||
import com.atlassian.theplugin.jira.api.JIRAIssue;
|
||||
import com.intellij.tasks.*;
|
||||
import com.intellij.tasks.jira.model.JiraComment;
|
||||
import com.intellij.tasks.jira.model.JiraIssue;
|
||||
import com.intellij.tasks.jira.model.JiraIssueType;
|
||||
import com.intellij.util.Function;
|
||||
import com.intellij.util.containers.ContainerUtil;
|
||||
import icons.JiraConnectorIcons;
|
||||
import icons.TasksIcons;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.text.ParseException;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
|
||||
/**
|
||||
* @author Dmitry Avdeev
|
||||
*/
|
||||
class JiraTask extends Task {
|
||||
|
||||
private final JIRAIssue myJiraIssue;
|
||||
private final JiraIssue myJiraIssue;
|
||||
private final TaskRepository myRepository;
|
||||
|
||||
public JiraTask(JIRAIssue jiraIssue, TaskRepository repository) {
|
||||
public JiraTask(JiraIssue jiraIssue, TaskRepository repository) {
|
||||
myJiraIssue = jiraIssue;
|
||||
myRepository = repository;
|
||||
}
|
||||
@@ -61,22 +56,23 @@ class JiraTask extends Task {
|
||||
return myJiraIssue.getDescription();
|
||||
}
|
||||
|
||||
|
||||
@NotNull
|
||||
public Comment[] getComments() {
|
||||
List<JIRAComment> jiraComments = myJiraIssue.getComments();
|
||||
if (jiraComments == null) return new Comment[0];
|
||||
return ContainerUtil.map2Array(jiraComments, Comment.class, new Function<JIRAComment, Comment>() {
|
||||
public Comment fun(JIRAComment jiraComment) {
|
||||
return new JiraComment(jiraComment);
|
||||
return ContainerUtil.map2Array(myJiraIssue.getComments(), Comment.class, new Function<JiraComment, Comment>() {
|
||||
@Override
|
||||
public Comment fun(JiraComment comment) {
|
||||
return new JiraCommentAdapter(comment);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public Icon getIcon() {
|
||||
String iconUrl = myJiraIssue.getTypeIconUrl();
|
||||
JiraIssueType issueType = myJiraIssue.getIssueType();
|
||||
String iconUrl = issueType.getIconUrl();
|
||||
final Icon icon = iconUrl == null
|
||||
? JiraConnectorIcons.Jira_blue_16
|
||||
? TasksIcons.JIRA
|
||||
: isClosed() ? CachedIconLoader.getDisabledIcon(iconUrl) : CachedIconLoader.getIcon(iconUrl);
|
||||
return icon != null ? icon : TasksIcons.Other;
|
||||
}
|
||||
@@ -84,7 +80,7 @@ class JiraTask extends Task {
|
||||
@NotNull
|
||||
@Override
|
||||
public TaskType getType() {
|
||||
String type = myJiraIssue.getType();
|
||||
String type = myJiraIssue.getIssueType().getName();
|
||||
if (type == null) {
|
||||
return TaskType.OTHER;
|
||||
}
|
||||
@@ -104,7 +100,7 @@ class JiraTask extends Task {
|
||||
|
||||
@Override
|
||||
public TaskState getState() {
|
||||
switch ((int)myJiraIssue.getStatusId()) {
|
||||
switch (Integer.parseInt(myJiraIssue.getId())) {
|
||||
case 1:
|
||||
return TaskState.OPEN;
|
||||
case 3:
|
||||
@@ -121,22 +117,12 @@ class JiraTask extends Task {
|
||||
@Nullable
|
||||
@Override
|
||||
public Date getUpdated() {
|
||||
return getDate(myJiraIssue.getUpdated());
|
||||
}
|
||||
|
||||
@Nullable
|
||||
private static Date getDate(String date) {
|
||||
try {
|
||||
return new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss Z", Locale.US).parse(date);
|
||||
}
|
||||
catch (ParseException e) {
|
||||
return null;
|
||||
}
|
||||
return myJiraIssue.getUpdated();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Date getCreated() {
|
||||
return getDate(myJiraIssue.getCreated());
|
||||
return myJiraIssue.getCreated();
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -150,7 +136,8 @@ class JiraTask extends Task {
|
||||
|
||||
@Override
|
||||
public String getIssueUrl() {
|
||||
return myJiraIssue.getIssueUrl();
|
||||
//return myJiraIssue.getIssueUrl();
|
||||
return myRepository.getUrl() + "/browse/" + myJiraIssue.getKey();
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@@ -0,0 +1,37 @@
|
||||
/*
|
||||
* Copyright 2000-2013 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.intellij.tasks.jira;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.GsonBuilder;
|
||||
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
/**
|
||||
* @author Mikhail Golubev
|
||||
*/
|
||||
public class JiraUtil {
|
||||
public static final Gson GSON = buildGson();
|
||||
//public static final Pattern DEFAULT_ISSUE_KEY_REGEX = Pattern.compile("\\p{Upper}{2,}+-\\d+");
|
||||
public static final Pattern ANY_ISSUE_KEY_REGEX = Pattern.compile("\\w+-\\d+");
|
||||
|
||||
private static Gson buildGson() {
|
||||
GsonBuilder gson = new GsonBuilder();
|
||||
// ISO-8601 with timezone info
|
||||
gson.setDateFormat("yyyy-MM-dd'T'hh:mm:ss.SSSZ");
|
||||
return gson.create();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.intellij.tasks.jira.jql;
|
||||
|
||||
import com.intellij.lang.BracePair;
|
||||
import com.intellij.lang.PairedBraceMatcher;
|
||||
import com.intellij.psi.PsiFile;
|
||||
import com.intellij.psi.tree.IElementType;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
/**
|
||||
* @author Mikhail Golubev
|
||||
*/
|
||||
public class JqlBraceMatcher implements PairedBraceMatcher {
|
||||
private static final BracePair[] PAIRS = {new BracePair(JqlTokenTypes.LPAR, JqlTokenTypes.RPAR, false)};
|
||||
|
||||
@Override
|
||||
public BracePair[] getPairs() {
|
||||
return PAIRS;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isPairedBracesAllowedBeforeType(@NotNull IElementType lbraceType, @Nullable IElementType contextType) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getCodeConstructStart(PsiFile file, int openingBraceOffset) {
|
||||
return openingBraceOffset;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.intellij.tasks.jira.jql;
|
||||
|
||||
import com.intellij.extapi.psi.ASTWrapperPsiElement;
|
||||
import com.intellij.lang.ASTNode;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
* @author Mikhail Golubev
|
||||
*/
|
||||
public class JqlElement extends ASTWrapperPsiElement {
|
||||
public JqlElement(@NotNull ASTNode node) {
|
||||
super(node);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* Copyright 2000-2013 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.intellij.tasks.jira.jql;
|
||||
|
||||
import com.intellij.psi.tree.IElementType;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
* @author Mikhail Golubev
|
||||
*/
|
||||
public class JqlElementType extends IElementType {
|
||||
private String myName;
|
||||
public JqlElementType(@NotNull @NonNls String debugName) {
|
||||
super(debugName, JqlLanguage.INSTANCE);
|
||||
myName = debugName;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "JQL: " + super.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,93 @@
|
||||
package com.intellij.tasks.jira.jql;
|
||||
|
||||
import com.intellij.psi.tree.IElementType;
|
||||
import com.intellij.psi.tree.IFileElementType;
|
||||
import com.intellij.psi.tree.TokenSet;
|
||||
|
||||
/**
|
||||
* @author Mikhail Golubev
|
||||
*
|
||||
* Slightly refactored JQL grammar. See original ANTLR parser grammar at:
|
||||
* http://jira.stagingonserver.com/jira-project/jira-components/jira-core/src/main/antlr3/com/atlassian/jira/jql/parser/antlr/Jql.g
|
||||
*
|
||||
* query ::= or_clause [order_by]
|
||||
* or_clause ::= and_clause {or_op and_clause}
|
||||
* and_clause ::= not_expr {and_op not_expr}
|
||||
* not_expr ::= not_op not_expr
|
||||
* | "(" or_clause ")"
|
||||
* | terminal_clause
|
||||
* terminal_clause ::= simple_clause
|
||||
* | was_clause
|
||||
* | changed_clause
|
||||
* simple_clause ::= field simple_op value
|
||||
* # although this is not mentioned in JQL manual, usage of both "from" and "to" predicates in "was" clause is legal
|
||||
* was_clause ::= field "was" ["not"] ["in"] operand {history_predicate}
|
||||
* changed_clause ::= field "changed" {history_predicate}
|
||||
* simple_op ::= "="
|
||||
* | "!="
|
||||
* | "~"
|
||||
* | "!~"
|
||||
* | "<"
|
||||
* | ">"
|
||||
* | "<="
|
||||
* | ">="
|
||||
* | ["not"] "in"
|
||||
* | "is" ["not"]
|
||||
* not_op ::= "not" | "!"
|
||||
* and_op ::= "and" | "&&" | "&"
|
||||
* or_op ::= "or" | "||" | "|"
|
||||
* history_predicate ::= "from" operand
|
||||
* | "to" operand
|
||||
* | "by" operand
|
||||
* | "before" operand
|
||||
* | "after" operand
|
||||
* | "on" operand
|
||||
* | "during" operand
|
||||
* field ::= string
|
||||
* | NUMBER
|
||||
* | CUSTOM_FIELD
|
||||
* operand ::= ("empty" | "null")
|
||||
* | string
|
||||
* | NUMBER
|
||||
* | func
|
||||
* | list
|
||||
* list ::= "(" operand {"," operand} ")"
|
||||
* func ::= fname "(" arg_list ")"
|
||||
* # function name can be even number (!)
|
||||
* fname ::= string | NUMBER
|
||||
* arg_list ::= argument {"," argument}
|
||||
* argument ::= string | NUMBER
|
||||
* string ::= SQUOTED_STRING
|
||||
* | QUOTED_STRIN
|
||||
* | UNQOUTED_STRING
|
||||
* order_by ::= "order" "by" sort_key {sort_key}
|
||||
* sort_key ::= field ("asc" | "desc")
|
||||
*
|
||||
*/
|
||||
public interface JqlElementTypes {
|
||||
IFileElementType FILE = new IFileElementType(JqlLanguage.INSTANCE);
|
||||
IElementType QUERY = new JqlElementType("QUERY");
|
||||
IElementType OR_CLAUSE = new JqlElementType("OR_CLAUSE");
|
||||
IElementType AND_CLAUSE = new JqlElementType("AND_CLAUSE");
|
||||
IElementType NOT_CLAUSE = new JqlElementType("NOT_CLAUSE");
|
||||
//IElementType TERMINAL_CLAUSE = new JqlElementType("TERMINAL_CLAUSE");
|
||||
// field (= | != | ~ | !~ | < | > | <= | >= | is [not] | [not] in) value
|
||||
IElementType SIMPLE_CLAUSE = new JqlElementType("SIMPLE_CLAUSE");
|
||||
// field was [not] [in] value {history_predicate}
|
||||
IElementType WAS_CLAUSE = new JqlElementType("WAS_CLAUSE");
|
||||
// field changed {history_predicate}
|
||||
IElementType CHANGED_CLAUSE = new JqlElementType("CHANGED_CLAUSE");
|
||||
IElementType LIST = new JqlElementType("LIST");
|
||||
IElementType ORDER_BY = new JqlElementType("ORDER_BY");
|
||||
IElementType IDENTIFIER = new JqlElementType("IDENTIFIER");
|
||||
IElementType LITERAL = new JqlElementType("LITERAL");
|
||||
IElementType FUNCTION_CALL = new JqlElementType("FUNCTION_CALL");
|
||||
IElementType ARGUMENT_LIST = new JqlElementType("ARGUMENT_LIST");
|
||||
IElementType SORT_KEY = new JqlElementType("SORT_KEY");
|
||||
IElementType EMPTY = new JqlElementType("EMPTY");
|
||||
IElementType HISTORY_PREDICATE = new JqlElementType("HISTORY_PREDICATE");
|
||||
|
||||
TokenSet OPERAND_NODES = TokenSet.create(
|
||||
JqlTokenTypes.NUMBER_LITERAL, JqlTokenTypes.STRING_LITERAL, LIST, FUNCTION_CALL
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package com.intellij.tasks.jira.jql;
|
||||
|
||||
import com.intellij.extapi.psi.PsiFileBase;
|
||||
import com.intellij.openapi.fileTypes.FileType;
|
||||
import com.intellij.psi.FileViewProvider;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
* @author Mikhail Golubev
|
||||
*/
|
||||
public class JqlFile extends PsiFileBase {
|
||||
public JqlFile(@NotNull FileViewProvider viewProvider) {
|
||||
super(viewProvider, JqlLanguage.INSTANCE);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public FileType getFileType() {
|
||||
return JqlFileType.INSTANCE;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2000-2013 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.intellij.tasks.jira.jql;
|
||||
|
||||
import com.intellij.openapi.fileTypes.LanguageFileType;
|
||||
import icons.TasksIcons;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import javax.swing.*;
|
||||
|
||||
/**
|
||||
* @author Mikhail Golubev
|
||||
*/
|
||||
public class JqlFileType extends LanguageFileType {
|
||||
public static final LanguageFileType INSTANCE = new JqlFileType();
|
||||
public static final String DEFAULT_EXTENSION = "jql";
|
||||
|
||||
public JqlFileType() {
|
||||
super(JqlLanguage.INSTANCE);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public String getName() {
|
||||
return "JQL";
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return "JIRA query language";
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public String getDefaultExtension() {
|
||||
return DEFAULT_EXTENSION;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public Icon getIcon() {
|
||||
return TasksIcons.JIRA;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* Copyright 2000-2013 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.intellij.tasks.jira.jql;
|
||||
|
||||
import com.intellij.openapi.fileTypes.FileTypeConsumer;
|
||||
import com.intellij.openapi.fileTypes.FileTypeFactory;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
* @author Mikhail Golubev
|
||||
*/
|
||||
public class JqlFileTypeFactory extends FileTypeFactory {
|
||||
@Override
|
||||
public void createFileTypes(@NotNull FileTypeConsumer consumer) {
|
||||
consumer.consume(JqlFileType.INSTANCE, JqlFileType.DEFAULT_EXTENSION);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
package com.intellij.tasks.jira.jql;
|
||||
|
||||
import com.intellij.lexer.Lexer;
|
||||
import com.intellij.openapi.editor.HighlighterColors;
|
||||
import com.intellij.openapi.editor.colors.TextAttributesKey;
|
||||
import com.intellij.openapi.fileTypes.SyntaxHighlighterBase;
|
||||
import com.intellij.psi.tree.IElementType;
|
||||
import com.intellij.util.containers.HashMap;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import static com.intellij.openapi.editor.DefaultLanguageHighlighterColors.*;
|
||||
|
||||
/**
|
||||
* @author Mikhail Golubev
|
||||
*/
|
||||
public class JqlHighlighter extends SyntaxHighlighterBase {
|
||||
private static final Map<IElementType, TextAttributesKey> KEYS = new HashMap<IElementType, TextAttributesKey>();
|
||||
static {
|
||||
KEYS.put(JqlTokenTypes.STRING_LITERAL, STRING);
|
||||
KEYS.put(JqlTokenTypes.NUMBER_LITERAL, NUMBER);
|
||||
KEYS.put(JqlTokenTypes.COMMA, COMMA);
|
||||
KEYS.put(JqlTokenTypes.LPAR, PARENTHESES);
|
||||
KEYS.put(JqlTokenTypes.RPAR, PARENTHESES);
|
||||
fillMap(KEYS, JqlTokenTypes.KEYWORDS, KEYWORD);
|
||||
fillMap(KEYS, JqlTokenTypes.SIGN_OPERATORS, OPERATION_SIGN);
|
||||
|
||||
KEYS.put(JqlTokenTypes.BAD_CHARACTER, HighlighterColors.BAD_CHARACTER);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public Lexer getHighlightingLexer() {
|
||||
return new JqlLexer();
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public TextAttributesKey[] getTokenHighlights(IElementType tokenType) {
|
||||
return pack(KEYS.get(tokenType));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.intellij.tasks.jira.jql;
|
||||
|
||||
import com.intellij.openapi.fileTypes.SingleLazyInstanceSyntaxHighlighterFactory;
|
||||
import com.intellij.openapi.fileTypes.SyntaxHighlighter;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
* @author Mikhail Golubev
|
||||
*/
|
||||
public class JqlHighlighterFactory extends SingleLazyInstanceSyntaxHighlighterFactory {
|
||||
@NotNull
|
||||
@Override
|
||||
protected SyntaxHighlighter createHighlighter() {
|
||||
return new JqlHighlighter();
|
||||
}
|
||||
}
|
||||
+19
-17
@@ -1,31 +1,33 @@
|
||||
/**
|
||||
* Copyright (C) 2008 Atlassian
|
||||
*
|
||||
/*
|
||||
* Copyright 2000-2013 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.intellij.tasks.jira.jql;
|
||||
|
||||
package com.atlassian.theplugin.jira.api;
|
||||
import com.intellij.lang.Language;
|
||||
|
||||
/**
|
||||
* Generic Bamboo Excepion.
|
||||
* @author Mikhail Golubev
|
||||
*/
|
||||
public class JIRAException extends Exception {
|
||||
public class JqlLanguage extends Language {
|
||||
public static final JqlLanguage INSTANCE = new JqlLanguage();
|
||||
private JqlLanguage() {
|
||||
super("JQL");
|
||||
}
|
||||
|
||||
public JIRAException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public JIRAException(String message, Throwable throwable) {
|
||||
super(message, throwable);
|
||||
}
|
||||
}
|
||||
@Override
|
||||
public boolean isCaseSensitive() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
package com.intellij.tasks.jira.jql;
|
||||
|
||||
import com.intellij.lexer.FlexLexer;
|
||||
import com.intellij.psi.tree.IElementType;
|
||||
|
||||
%%
|
||||
|
||||
%class _JqlLexer
|
||||
%implements FlexLexer
|
||||
%unicode
|
||||
%function advance
|
||||
%type IElementType
|
||||
%ignorecase
|
||||
%eof{ return;
|
||||
%eof}
|
||||
|
||||
WHITESPACE_CHAR = [\ \t]
|
||||
DIGIT = [0-9]
|
||||
HEX_DIGIT = [0-9a-fA-F]
|
||||
// RESERVED_CHARS = [/+.;?*%\^$#@\[\]{}]
|
||||
// OPERATORS = [<>=~!()]
|
||||
// this symbols unused but also disallowed to include in identifier
|
||||
// UNUSED_OPERATORS = [&|]
|
||||
|
||||
VALID_ESCAPE = \\['\"tnr\\\ ] | \\u{HEX_DIGIT}{4}
|
||||
// JIRA allows to include virtually any symbol in field name except reserved ones
|
||||
// VALID_CHAR = !({WHITESPACE_CHAR}|{RESERVED_CHARS}|{OPERATORS}|\\)+
|
||||
VALID_CHAR = [^'\"\n\r\ \t+.,;?*%\^$#@\[\]{}<>=~!()\\|\&]
|
||||
UNQUOTED_STRING = ({VALID_ESCAPE}|{VALID_CHAR})+
|
||||
QUOTED_STRING = \"({VALID_ESCAPE}|[^\\\"])*\"
|
||||
SQUOTED_STRING = '({VALID_ESCAPE}|[^\\'])*'
|
||||
// only minus sign is allowed as prefix and no floating point numbers
|
||||
STRING_LITERAL = {UNQUOTED_STRING} | {QUOTED_STRING} | {SQUOTED_STRING}
|
||||
NUMBER_LITERAL = [-]?{DIGIT}+
|
||||
CUSTOM_FIELD = cf\[{DIGIT}+\]
|
||||
|
||||
%%
|
||||
"and" { return JqlTokenTypes.AND_KEYWORD; }
|
||||
"or" { return JqlTokenTypes.OR_KEYWORD; }
|
||||
"not" { return JqlTokenTypes.NOT_KEYWORD; }
|
||||
"empty" { return JqlTokenTypes.EMPTY_KEYWORD; }
|
||||
"null" { return JqlTokenTypes.NULL_KEYWORD; }
|
||||
"order" { return JqlTokenTypes.ORDER_KEYWORD; }
|
||||
"by" { return JqlTokenTypes.BY_KEYWORD; }
|
||||
"was" { return JqlTokenTypes.WAS_KEYWORD; }
|
||||
"changed" { return JqlTokenTypes.CHANGED_KEYWORD; }
|
||||
"is" { return JqlTokenTypes.IS_KEYWORD; }
|
||||
"in" { return JqlTokenTypes.IN_KEYWORD; }
|
||||
"asc" { return JqlTokenTypes.ASC_KEYWORD; }
|
||||
"desc" { return JqlTokenTypes.DESC_KEYWORD; }
|
||||
"changed" { return JqlTokenTypes.CHANGED_KEYWORD; }
|
||||
"from" { return JqlTokenTypes.FROM_KEYWORD; }
|
||||
"to" { return JqlTokenTypes.TO_KEYWORD; }
|
||||
"on" { return JqlTokenTypes.ON_KEYWORD; }
|
||||
"during" { return JqlTokenTypes.DURING_KEYWORD; }
|
||||
"before" { return JqlTokenTypes.BEFORE_KEYWORD; }
|
||||
"after" { return JqlTokenTypes.AFTER_KEYWORD; }
|
||||
|
||||
"=" { return JqlTokenTypes.EQ; }
|
||||
"!=" { return JqlTokenTypes.NE; }
|
||||
"<" { return JqlTokenTypes.LT; }
|
||||
">" { return JqlTokenTypes.GT; }
|
||||
"<=" { return JqlTokenTypes.LE; }
|
||||
">=" { return JqlTokenTypes.GE; }
|
||||
"~" { return JqlTokenTypes.CONTAINS; }
|
||||
"!~" { return JqlTokenTypes.NOT_CONTAINS; }
|
||||
"(" { return JqlTokenTypes.LPAR; }
|
||||
")" { return JqlTokenTypes.RPAR; }
|
||||
"&&" { return JqlTokenTypes.AMP_AMP; }
|
||||
"&" { return JqlTokenTypes.AMP; }
|
||||
"||" { return JqlTokenTypes.PIPE_PIPE; }
|
||||
"|" { return JqlTokenTypes.PIPE; }
|
||||
"!" { return JqlTokenTypes.BANG; }
|
||||
"," { return JqlTokenTypes.COMMA; }
|
||||
|
||||
{CUSTOM_FIELD} { return JqlTokenTypes.CUSTOM_FIELD; }
|
||||
{NUMBER_LITERAL} { return JqlTokenTypes.NUMBER_LITERAL; }
|
||||
{STRING_LITERAL} { return JqlTokenTypes.STRING_LITERAL; }
|
||||
|
||||
{WHITESPACE_CHAR}+ { return JqlTokenTypes.WHITE_SPACE; }
|
||||
|
||||
[^] { return JqlTokenTypes.BAD_CHARACTER; }
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user