本文整理匯總了Java中com.rapidminer.operator.DebugMode類的典型用法代碼示例。如果您正苦於以下問題:Java DebugMode類的具體用法?Java DebugMode怎麽用?Java DebugMode使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
DebugMode類屬於com.rapidminer.operator包,在下文中一共展示了DebugMode類的9個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: receive
import com.rapidminer.operator.DebugMode; //導入依賴的package包/類
@Override
public void receive(IOObject object) {
setData(object);
Process process = getPorts().getOwner().getOperator().getProcess();
if ((process != null) && (process.getDebugMode() == DebugMode.COLLECT_METADATA_AFTER_EXECUTION)) {
if (object == null) {
setRealMetaData(null);
} else {
MetaData forIOObject = MetaData.forIOObject(object);
setRealMetaData(forIOObject);
}
} else {
setRealMetaData(null);
}
}
示例2: deliver
import com.rapidminer.operator.DebugMode; //導入依賴的package包/類
@Override
public void deliver(IOObject object) {
// registering in history of object
if (object != null)
object.appendOperatorToHistory(getPorts().getOwner().getOperator(), this);
// delivering data
setData(object);
if (isConnected()) {
getDestination().receive(object);
}
Process process = getPorts().getOwner().getOperator().getProcess();
if ((process != null) && (process.getDebugMode() == DebugMode.COLLECT_METADATA_AFTER_EXECUTION)) {
if (object == null) {
setRealMetaData(null);
} else {
setRealMetaData(MetaData.forIOObject(object));
}
} else {
setRealMetaData(null);
}
}
示例3: receive
import com.rapidminer.operator.DebugMode; //導入依賴的package包/類
@Override
public void receive(IOObject object) {
setData(object);
Process process = getPorts().getOwner().getOperator().getProcess();
if ((process != null) && (process.getDebugMode() == DebugMode.COLLECT_METADATA_AFTER_EXECUTION)) {
if (object == null) {
setRealMetaData(null);
} else {
MetaData forIOObject = MetaData.forIOObject(object);
setRealMetaData(forIOObject);
}
} else {
setRealMetaData(null);
}
}
示例4: deliver
import com.rapidminer.operator.DebugMode; //導入依賴的package包/類
@Override
public void deliver(IOObject object) {
// registering history of object
if (object != null) {
object.appendOperatorToHistory(getPorts().getOwner().getOperator(), this);
// set source if not yet set
if (object.getSource() == null) {
if (getPorts().getOwner().getOperator() != null) {
object.setSource(getPorts().getOwner().getOperator().getName());
}
}
}
// delivering data
setData(object);
if (isConnected()) {
getDestination().receive(object);
}
Process process = getPorts().getOwner().getOperator().getProcess();
if (process != null && process.getDebugMode() == DebugMode.COLLECT_METADATA_AFTER_EXECUTION) {
if (object == null) {
setRealMetaData(null);
} else {
setRealMetaData(MetaData.forIOObject(object));
}
} else {
setRealMetaData(null);
}
}
示例5: actionToggled
import com.rapidminer.operator.DebugMode; //導入依賴的package包/類
@Override
public void actionToggled(ActionEvent e) {
if (isSelected()) {
mainFrame.getProcess().setDebugMode(DebugMode.COLLECT_METADATA_AFTER_EXECUTION);
} else {
mainFrame.getProcess().setDebugMode(DebugMode.DEBUG_OFF);
}
}
示例6: actionPerformed
import com.rapidminer.operator.DebugMode; //導入依賴的package包/類
@Override
public void actionPerformed(ActionEvent e) {
isEnabled = !isEnabled;
if (isEnabled) {
mainFrame.getProcess().setDebugMode(DebugMode.COLLECT_METADATA_AFTER_EXECUTION);
} else {
mainFrame.getProcess().setDebugMode(DebugMode.DEBUG_OFF);
}
}
示例7: getDebugMode
import com.rapidminer.operator.DebugMode; //導入依賴的package包/類
public DebugMode getDebugMode() {
return debugMode;
}
示例8: setDebugMode
import com.rapidminer.operator.DebugMode; //導入依賴的package包/類
public void setDebugMode(final DebugMode mode) {
this.debugMode = mode;
if (mode == DebugMode.DEBUG_OFF) {
getRootOperator().clear(Port.CLEAR_REAL_METADATA);
}
}
示例9: setDebugMode
import com.rapidminer.operator.DebugMode; //導入依賴的package包/類
public void setDebugMode(DebugMode mode) {
this.debugMode = mode;
if (mode == DebugMode.DEBUG_OFF) {
getRootOperator().clear(Port.CLEAR_REAL_METADATA);
}
}