Browse Source

mark noInterrupt field as ignored by json and hibernate

pull/51/head
Jonathan Cobb 4 years ago
parent
commit
2477522e5f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bubble-server/src/main/java/bubble/model/device/FlexRouter.java

+ 1
- 1
bubble-server/src/main/java/bubble/model/device/FlexRouter.java View File

@@ -108,7 +108,7 @@ public class FlexRouter extends IdentifiableBase implements HasAccount {

// used by StandardFlexRouterService to signal that its updates should not trigger an interrupt,
// otherwise it would never sleep
private boolean noInterrupt = false;
@JsonIgnore @Transient private boolean noInterrupt = false;
public FlexRouter noInterrupt () { noInterrupt = true; return this; }
public boolean doInterrupt () { return !noInterrupt; }



Loading…
Cancel
Save