-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created core package and Class Diagram changes.
- Loading branch information
1 parent
6d05407
commit 309885f
Showing
6 changed files
with
122 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.jasmine.core; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* Classe principal do pacote, ele ira dar inicio a todas as tarefas que serão | ||
* executadas e processadas. | ||
* | ||
* @author Élton Nunes - <elton_12_nunes@hotmail.com> | ||
* @since 14/10/2016 | ||
*/ | ||
public class JasmineBrain { | ||
private boolean thinking; | ||
private boolean started; | ||
List<JasmineNeuron> neurons; | ||
|
||
public void start() { | ||
//TODO Implement | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
package com.jasmine.core; | ||
|
||
import javafx.scene.control.TextArea; | ||
|
||
/** | ||
* Classe responsavel por gerenciar a manipulação da area de texto que é exibida | ||
* na tela principal | ||
* | ||
* @author Élton Nunes - <elton_12_nunes@hotmail.com> | ||
* @since 14/10/2016 | ||
*/ | ||
public class JasmineMindsHandler { | ||
|
||
public TextArea txtAreaJasmineMinds; | ||
|
||
String getText() { | ||
//TODO Implement | ||
return null; | ||
} | ||
|
||
String appendText(String text) { | ||
//TODO Implement | ||
return null; | ||
} | ||
|
||
JasmineMindsHandler appendTextBreakLine(String text) { | ||
//TODO Implement | ||
return this; | ||
} | ||
|
||
String setText(String text) { | ||
//TODO Implement | ||
return null; | ||
} | ||
|
||
void clearText() { | ||
//TODO Implement | ||
} | ||
|
||
public void setTextArea(TextArea textArea) { | ||
this.txtAreaJasmineMinds = textArea; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.jasmine.core; | ||
|
||
/** | ||
* Interface responsavel por definir o metodo de processamento que será | ||
* realizado pelas classes que à implementem | ||
* | ||
* @author Élton Nunes - <elton_12_nunes@hotmail.com> | ||
* @since 14/10/2016 | ||
*/ | ||
public interface JasmineNeuron { | ||
|
||
public String process(); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package com.jasmine.core; | ||
|
||
/** | ||
* Implementação do neuronio criado para processamento das informações que serão | ||
* exibidas para o usuário | ||
* | ||
* @author Élton Nunes - <elton_12_nunes@hotmail.com> | ||
* @since 14/10/2016 | ||
*/ | ||
public class TwitterNeuron implements JasmineNeuron { | ||
|
||
@Override | ||
public String process() { | ||
processCountWords(); | ||
return null; | ||
} | ||
|
||
private void processCountWords() { | ||
// Implement | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package com.jasmine.core; | ||
|
||
/** | ||
* Implementação do neuronio criado para processamento das informações que serão | ||
* exibidas para o usuário | ||
* | ||
* @author Élton Nunes - <elton_12_nunes@hotmail.com> | ||
* @since 14/10/2016 | ||
*/ | ||
public class WeatherNeuron implements JasmineNeuron { | ||
|
||
@Override | ||
public String process() { | ||
processTodayTemperature(); | ||
return null; | ||
} | ||
|
||
private void processTodayTemperature() { | ||
// Implement | ||
} | ||
|
||
} |