Unnamed: 0
int64 0
305k
| body
stringlengths 7
52.9k
| name
stringlengths 1
185
|
|---|---|---|
297,000
|
void (@NotNull ExternalSystemTaskId id) { if (myDelegate != null) { myDelegate.onStart(id); } }
|
onStart
|
297,001
|
void (@NotNull ExternalSystemTaskId id) { if (myDelegate != null) { myDelegate.onEnvironmentPrepared(id); } }
|
onEnvironmentPrepared
|
297,002
|
void (@NotNull ExternalSystemTaskNotificationEvent event) { if (myDelegate != null) { myDelegate.onStatusChange(event); } }
|
onStatusChange
|
297,003
|
void (@NotNull ExternalSystemTaskId id, @NotNull String text, boolean stdOut) { if (myDelegate != null) { myDelegate.onTaskOutput(id, text, stdOut); } }
|
onTaskOutput
|
297,004
|
void (@NotNull ExternalSystemTaskId id) { if (myDelegate != null) { myDelegate.onEnd(id); } }
|
onEnd
|
297,005
|
void (@NotNull ExternalSystemTaskId id) { if (myDelegate != null) { myDelegate.onSuccess(id); } }
|
onSuccess
|
297,006
|
void (@NotNull ExternalSystemTaskId id, @NotNull Exception e) { if (myDelegate != null) { myDelegate.onFailure(id, e); } }
|
onFailure
|
297,007
|
void (@NotNull ExternalSystemTaskId id) { if (myDelegate != null) { myDelegate.beforeCancel(id); } }
|
beforeCancel
|
297,008
|
void (@NotNull ExternalSystemTaskId id) { if (myDelegate != null) { myDelegate.onCancel(id); } }
|
onCancel
|
297,009
|
String () { return myProjectId; }
|
getIdeProjectId
|
297,010
|
ProjectSystemId () { return myProjectSystemId; }
|
getProjectSystemId
|
297,011
|
ExternalSystemTaskId (@NotNull ProjectSystemId projectSystemId, @NotNull ExternalSystemTaskType type, @NotNull Project project) { return create(projectSystemId, type, getProjectId(project)); }
|
create
|
297,012
|
ExternalSystemTaskId (@NotNull ProjectSystemId projectSystemId, @NotNull ExternalSystemTaskType type, @NotNull String ideProjectId) { return new ExternalSystemTaskId(projectSystemId, type, ideProjectId, COUNTER.getAndIncrement()); }
|
create
|
297,013
|
String (@NotNull Project project) { return project.isDisposed() ? project.getName() : project.getName() + ":" + project.getLocationHash(); }
|
getProjectId
|
297,014
|
Project () { final ProjectManager projectManager = ProjectManager.getInstance(); for (Project project : projectManager.getOpenProjects()) { if (myProjectId.equals(getProjectId(project))) return project; } return null; }
|
findProject
|
297,015
|
ExternalSystemTaskType () { return myType; }
|
getType
|
297,016
|
long () { return myId; }
|
getId
|
297,017
|
int () { return 31 * myType.hashCode() + (int)(myId ^ (myId >>> 32)); }
|
hashCode
|
297,018
|
boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ExternalSystemTaskId that = (ExternalSystemTaskId)o; return myId == that.myId && myType == that.myType; }
|
equals
|
297,019
|
String () { return myType + ":" + myId; }
|
toString
|
297,020
|
boolean () { return this == FINISHED || this == FAILED || this == CANCELED; }
|
isStopped
|
297,021
|
ExternalSystemTaskId () { return myId; }
|
getId
|
297,022
|
String () { return myDescription; }
|
getDescription
|
297,023
|
int () { return 31 * myDescription.hashCode() + myId.hashCode(); }
|
hashCode
|
297,024
|
boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ExternalSystemTaskNotificationEvent that = (ExternalSystemTaskNotificationEvent)o; return myId.equals(that.myId) && myDescription.equals(that.myDescription); }
|
equals
|
297,025
|
String () { return myId + "-" + myDescription; }
|
toString
|
297,026
|
String () { return linkedExternalProjectPath; }
|
getLinkedExternalProjectPath
|
297,027
|
String () { return group; }
|
getGroup
|
297,028
|
void (@Nullable String group) { this.group = group; }
|
setGroup
|
297,029
|
String () { return type; }
|
getType
|
297,030
|
void (@Nullable String type) { this.type = type; }
|
setType
|
297,031
|
boolean () { return inherited; }
|
isInherited
|
297,032
|
void (boolean inherited) { this.inherited = inherited; }
|
setInherited
|
297,033
|
boolean () { return isTest; }
|
isTest
|
297,034
|
void (boolean test) { isTest = test; }
|
setTest
|
297,035
|
boolean () { return isJvmTest; }
|
isJvmTest
|
297,036
|
void (boolean test) { isJvmTest = test; }
|
setJvmTest
|
297,037
|
int () { int result = super.hashCode(); result = 31 * result + name.hashCode(); result = 31 * result + (group != null ? group.hashCode() : 0); result = 31 * result + linkedExternalProjectPath.hashCode(); result = 31 * result + (inherited ? 1 : 0); result = 31 * result + (description != null ? description.hashCode() : 0); return result; }
|
hashCode
|
297,038
|
boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) return false; TaskData data = (TaskData)o; if (inherited != data.inherited) return false; if (!name.equals(data.name)) return false; if (group != null ? !group.equals(data.group) : data.group != null) return false; if (!linkedExternalProjectPath.equals(data.linkedExternalProjectPath)) return false; if (description != null ? !description.equals(data.description) : data.description != null) return false; return true; }
|
equals
|
297,039
|
int (@NotNull TaskData that) { return name.compareTo(that.getName()); }
|
compareTo
|
297,040
|
String () { return expectedText; }
|
getExpectedText
|
297,041
|
String () { return actualText; }
|
getActualText
|
297,042
|
long () { return myStartTime; }
|
getStartTime
|
297,043
|
long () { return myEndTime; }
|
getEndTime
|
297,044
|
boolean () { return myUpToDate; }
|
isUpToDate
|
297,045
|
boolean () { return isTestError; }
|
isTestError
|
297,046
|
String () { return mySuiteName; }
|
getSuiteName
|
297,047
|
String () { return myClassName; }
|
getClassName
|
297,048
|
String () { return myMethodName; }
|
getMethodName
|
297,049
|
long () { return myProgress; }
|
getProgress
|
297,050
|
long () { return myTotal; }
|
getTotal
|
297,051
|
String () { return myUnit; }
|
getUnit
|
297,052
|
String () { return myDescription; }
|
getDescription
|
297,053
|
String () { return myTaskName; }
|
getTaskName
|
297,054
|
BuildEvent () { return myBuildEvent; }
|
getBuildEvent
|
297,055
|
OperationResult () { return myResult; }
|
getOperationResult
|
297,056
|
String () { return myEventId; }
|
getEventId
|
297,057
|
String () { return myParentEventId; }
|
getParentEventId
|
297,058
|
T () { return myDescriptor; }
|
getDescriptor
|
297,059
|
String () { return myDescriptor.getDisplayName(); }
|
getDisplayName
|
297,060
|
long () { return myDescriptor.getEventTime(); }
|
getEventTime
|
297,061
|
long () { return myEventTime; }
|
getEventTime
|
297,062
|
String () { return myHint; }
|
getHint
|
297,063
|
void (@Nullable @Nls String hint) { myHint = hint; }
|
setHint
|
297,064
|
boolean () { return myStdOut; }
|
isStdOut
|
297,065
|
long () { return myRemoteProcessIdleTtlInMs; }
|
getRemoteProcessIdleTtlInMs
|
297,066
|
void (long remoteProcessIdleTtlInMs) { myRemoteProcessIdleTtlInMs = remoteProcessIdleTtlInMs; }
|
setRemoteProcessIdleTtlInMs
|
297,067
|
boolean () { return myVerboseProcessing; }
|
isVerboseProcessing
|
297,068
|
void (boolean verboseProcessing) { myVerboseProcessing = verboseProcessing; }
|
setVerboseProcessing
|
297,069
|
List<String> () { return Collections.unmodifiableList(myJvmArguments); }
|
getJvmArguments
|
297,070
|
List<String> () { return Collections.unmodifiableList(myArguments); }
|
getArguments
|
297,071
|
boolean () { return myPassParentEnvs; }
|
isPassParentEnvs
|
297,072
|
boolean () { var value = getUserData(DEBUG_SERVER_PROCESS_KEY); return ObjectUtils.chooseNotNull(value, false); }
|
isDebugServerProcess
|
297,073
|
ExternalSystemExecutionSettings (Collection<String> vmOptions) { myJvmArguments.addAll(vmOptions); return this; }
|
withVmOptions
|
297,074
|
ExternalSystemExecutionSettings (String... vmOptions) { Collections.addAll(myJvmArguments, vmOptions); return this; }
|
withVmOptions
|
297,075
|
ExternalSystemExecutionSettings (String vmOption) { myJvmArguments.add(vmOption); return this; }
|
withVmOption
|
297,076
|
ExternalSystemExecutionSettings (Collection<String> arguments) { myArguments.addAll(arguments); return this; }
|
withArguments
|
297,077
|
ExternalSystemExecutionSettings (String... arguments) { Collections.addAll(myArguments, arguments); return this; }
|
withArguments
|
297,078
|
ExternalSystemExecutionSettings (String argument) { myArguments.add(argument); return this; }
|
withArgument
|
297,079
|
void (String... arguments) { myArguments.addAll(0, Arrays.asList(arguments)); }
|
prependArguments
|
297,080
|
ExternalSystemExecutionSettings (Map<String, String> envs) { myEnv.putAll(envs); return this; }
|
withEnvironmentVariables
|
297,081
|
ExternalSystemExecutionSettings (boolean passParentEnvs) { myPassParentEnvs = passParentEnvs; return this; }
|
passParentEnvs
|
297,082
|
int () { int result = (int)(myRemoteProcessIdleTtlInMs ^ (myRemoteProcessIdleTtlInMs >>> 32)); result = 31 * result + (myVerboseProcessing ? 1 : 0); result = 31 * result + myJvmArguments.hashCode(); result = 31 * result + myArguments.hashCode(); return result; }
|
hashCode
|
297,083
|
boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ExternalSystemExecutionSettings that = (ExternalSystemExecutionSettings)o; if (myRemoteProcessIdleTtlInMs != that.myRemoteProcessIdleTtlInMs) return false; if (myVerboseProcessing != that.myVerboseProcessing) return false; if (!myJvmArguments.equals(that.myJvmArguments)) return false; if (!myArguments.equals(that.myArguments)) return false; return true; }
|
equals
|
297,084
|
ExternalTaskPojo (@NotNull TaskData data) { return new ExternalTaskPojo(data.getName(), data.getLinkedExternalProjectPath(), data.getDescription()); }
|
from
|
297,085
|
void (@NotNull String name) { myName = name; }
|
setName
|
297,086
|
void (@Nullable String description) { myDescription = description; }
|
setDescription
|
297,087
|
String () { return myLinkedExternalProjectPath; }
|
getLinkedExternalProjectPath
|
297,088
|
void (@NotNull String linkedExternalProjectPath) { // Required for IJ serialization. myLinkedExternalProjectPath = linkedExternalProjectPath; }
|
setLinkedExternalProjectPath
|
297,089
|
int () { int result = myName.hashCode(); result = 31 * result + myLinkedExternalProjectPath.hashCode(); return result; }
|
hashCode
|
297,090
|
boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ExternalTaskPojo that = (ExternalTaskPojo)o; if (!myLinkedExternalProjectPath.equals(that.myLinkedExternalProjectPath)) return false; if (!myName.equals(that.myName)) return false; return true; }
|
equals
|
297,091
|
int (@NotNull ExternalTaskPojo that) { return myName.compareTo(that.getName()); }
|
compareTo
|
297,092
|
String () { return myName; }
|
toString
|
297,093
|
ExternalSystemTaskExecutionSettings () { return mySettings; }
|
getSettings
|
297,094
|
void (@NotNull ExternalSystemTaskExecutionSettings settings) { // Required by IJ serialization. mySettings = settings; }
|
setSettings
|
297,095
|
String () { return myExecutorId; }
|
getExecutorId
|
297,096
|
void (@NotNull String executorId) { // Required by IJ serialization. myExecutorId = executorId; }
|
setExecutorId
|
297,097
|
int () { int result = mySettings.hashCode(); result = 31 * result + myExecutorId.hashCode(); return result; }
|
hashCode
|
297,098
|
boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ExternalTaskExecutionInfo task = (ExternalTaskExecutionInfo)o; if (!myExecutorId.equals(task.myExecutorId)) return false; if (!mySettings.equals(task.mySettings)) return false; return true; }
|
equals
|
297,099
|
String () { return StringUtil.join(mySettings.getTaskNames(), " "); }
|
toString
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.