45 lines
2.8 KiB
HTML
45 lines
2.8 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="de"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>Task.java</title><link rel="stylesheet" href="../jacoco-resources/prettify.css" type="text/css"/><script type="text/javascript" src="../jacoco-resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Template</a> > <a href="index.source.html" class="el_package">hhn.temp.project</a> > <span class="el_source">Task.java</span></div><h1>Task.java</h1><pre class="source lang-java linenums">package hhn.temp.project;
|
|
|
|
public class Task {
|
|
String name;
|
|
String description;
|
|
int taskId;
|
|
int workerId;
|
|
AssignmentManager manager;
|
|
TaskState state;
|
|
<span class="fc" id="L10"> public Task(int taskId, int workerId, String name, String description, AssignmentManager manager) {</span>
|
|
<span class="fc" id="L11"> this.manager = manager;</span>
|
|
<span class="fc" id="L12"> this.name = name;</span>
|
|
<span class="fc" id="L13"> this.description = description;</span>
|
|
<span class="fc" id="L14"> this.taskId = taskId;</span>
|
|
<span class="fc" id="L15"> this.workerId = workerId;</span>
|
|
<span class="fc" id="L16"> this.state = TaskState.IN_PROGRESS;</span>
|
|
<span class="fc" id="L17"> }</span>
|
|
|
|
public String getName() {
|
|
<span class="fc" id="L20"> return name;</span>
|
|
}
|
|
public void setName(String name) {
|
|
<span class="fc" id="L23"> this.name = name;</span>
|
|
<span class="fc" id="L24"> }</span>
|
|
public String getDescription() {
|
|
<span class="fc" id="L26"> return description;</span>
|
|
}
|
|
public void setDescription(String description) {
|
|
<span class="fc" id="L29"> this.description = description;</span>
|
|
<span class="fc" id="L30"> }</span>
|
|
public int getTaskId() {
|
|
<span class="fc" id="L32"> return taskId;</span>
|
|
}
|
|
public int getWorkerId() {
|
|
<span class="fc" id="L35"> return workerId;</span>
|
|
}
|
|
public void setTaskState(TaskState state) {
|
|
<span class="fc" id="L38"> this.state = state;</span>
|
|
<span class="fc" id="L39"> }</span>
|
|
public TaskState getTaskState() {
|
|
<span class="fc" id="L41"> return state;</span>
|
|
}
|
|
|
|
}
|
|
</pre><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.13.202504020838</span></div></body></html> |